/* Background */
.wam-login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    font-family: Arial, sans-serif;
}

/* Card */
.wam-login-card {
    background: #ffffff;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
}

/* Title */
.wam-title {
    margin-bottom: 5px;
    font-size: 26px;
    font-weight: 600;
    color: #333;
}

.wam-subtitle {
    margin-bottom: 25px;
    font-size: 14px;
    color: #777;
}

/* Form */
.wam-form-group {
    text-align: left;
    margin-bottom: 18px;
}

.wam-form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #555;
}

.wam-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
}

.wam-form-group input:focus {
    border-color: #4e73df;
    outline: none;
    box-shadow: 0 0 0 2px rgba(78,115,223,0.1);
}

/* Button */
.wam-btn {
    width: 100%;
    padding: 12px;
    background: #4e73df;
    border: none;
    color: #fff;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.wam-btn:hover {
    background: #2e59d9;
}

/* Error */
.wam-error {
    background: #ffe5e5;
    color: #d63031;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 13px;
}

.wam-form-group input,
.wam-form-group select {
    width: 100%;      /* Make all inputs/selects full width of column */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/*
dashboard
*/

/* Dashboard Wrapper */
.wam-dashboard-wrapper {
    padding: 40px;
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
}

/* Header */
.wam-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.wam-dashboard-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.wam-add-btn {
    background: #4e73df;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.wam-add-btn:hover {
    background: #2e59d9;
}

/* CARDS ROW */
.wam-cards-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Card Base */
.wam-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
}

.wam-card:hover {
    transform: translateY(-5px);
}

/* Gradient Card */
.wam-card-gradient {
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    color: #fff;
}

.wam-card-gradient-green {
    background: linear-gradient(135deg, #1cc88a, #17a673);
    color: #fff;
}

.wam-card-icon {
    font-size: 30px;
    margin-bottom: 12px;
}

.wam-big-number {
    font-size: 32px;
    font-weight: 700;
    margin-top: 10px;
}

/* Profile Card */
.wam-profile-card {
    background: #fff;
    color: #333;
    padding: 20px;
}

.wam-profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #4e73df;
}

.wam-logout-btn {
    display: inline-block;
    margin-top: 12px;
    background: #e74a3b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.wam-logout-btn:hover {
    background: #c0392b;
}

/* Recent Section */
.wam-recent-section {
    margin-top: 40px;
}

.wam-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.wam-recent-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.wam-recent-header a {
    text-decoration: none;
    font-size: 14px;
    color: #4e73df;
}

.wam-recent-header a:hover {
    text-decoration: underline;
}

/* Table */
.wam-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.wam-table th,
.wam-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.wam-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wam-user-cell img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Action Buttons */
.wam-action-btn {
    padding: 6px 12px;
    background: #4e73df;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    margin-right: 5px;
    transition: 0.3s;
}

.wam-action-btn.edit {
    background: #1cc88a;
}

.wam-action-btn:hover {
    opacity: 0.9;
}

/**pagination*/
.wam-pagination {
    margin-top: 25px;
    text-align: center;
}

.wam-page-btn {
    display: inline-block;
    padding: 8px 14px;
    margin: 4px;
    border-radius: 6px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.wam-page-btn:hover {
    background: #0073aa;
    color: #fff;
}

.wam-page-btn.active {
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    color: #fff;
    font-weight: bold;
} 