
:root {
    --primary: #ff5500;
    --primary-dark: #ffd700;
    --primary-light: rgba(0, 255, 127, 0.1);
    --dark: #111111;
    --dark-light: #1e1e1e;
    --darker: #0a0a0a;
    --light: #ffffff;
    --light-gray: #e0e0e0;
    --danger: #ff4444;
    --success: #00C851;
    --warning: #ffbb33;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    --glass: rgba(30, 30, 30, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: var(--darker);
    font-family: 'Tajawal', sans-serif;
    color: var(--light);
    min-height: 100vh;
    background-image:
            linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.9)),
            url('https://i.imgur.com/iJfwtV1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Language Switch */
.language-switch {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--light);
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.5);
}

/* Main Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
    position: relative;
}

.logo {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}
.logo span {
    color: #ff5500; /* برتقالي */
    transition: all 0.3s ease;
}
.logo:hover span {
    color: #00a8ff; /* أزرق عند hover */
}

.user-membership {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
    transition: all 0.3s ease;
}

.user-membership:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 127, 0.4);
}

/* Profile Section */
.profile-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .profile-section {
        grid-template-columns: 1fr;
    }
}

/* Profile Card */
.profile-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 127, 0.3);
    border-color: rgba(0, 255, 127, 0.4);
}

.avatar-container {
    position: relative;
    margin: 0 auto 1.5rem;
    width: fit-content;
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid var(--primary);
    object-fit: cover;
    box-shadow: 0 0 30px var(--primary-light);
    transition: all 0.3s ease;
    background: var(--dark);
}

.avatar:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px var(--primary-light);
}

.avatar-edit {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid var(--dark-light);
    transition: all 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.avatar-edit:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.user-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

#username {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.user-email {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.file-input-container {
    margin: 1.5rem 0;
    position: relative;
}

.file-input-label {
    display: block;
    padding: 1rem;
    background: rgba(0, 255, 127, 0.05);
    color: var(--primary);
    border: 2px dashed var(--primary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    text-align: center;
}

.file-input-label:hover {
    background: rgba(0, 255, 127, 0.1);
    transform: translateY(-2px);
}

#avatarInput {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
    z-index: -1;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.5rem;
}

button {
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 127, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

.btn-warning {
    background: transparent;
    color: var(--warning);
    border: 2px solid var(--warning);
}

.btn-warning:hover {
    background: var(--warning);
    color: var(--dark);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.05), transparent);
    z-index: -1;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.2);
}

.stat-card.gold {
    border-left-color: var(--gold);
}

.stat-card.gold::after {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
}

.stat-card.silver {
    border-left-color: var(--silver);
}

.stat-card.silver::after {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.05), transparent);
}

.stat-card.bronze {
    border-left-color: var(--bronze);
}

.stat-card.bronze::after {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.05), transparent);
}

.stat-title {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.stat-card.gold .stat-value {
    color: var(--gold);
}

.stat-card.silver .stat-value {
    color: var(--silver);
}

.stat-card.bronze .stat-value {
    color: var(--bronze);
}

.stat-description {
    font-size: 0.85rem;
    color: var(--light-gray);
}

/* Workout History */
.workout-history {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    border: 1px solid var(--glass-border);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.workout-list {
    display: grid;
    gap: 15px;
}

.workout-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
    border-left: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.workout-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 127, 0.03), transparent);
    z-index: -1;
}

.workout-item:hover {
    background: rgba(0, 255, 127, 0.1);
    transform: translateX(5px);
}

.workout-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.workout-date {
    font-size: 0.85rem;
    color: var(--light-gray);
}

.workout-duration {
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

/* Status Messages */
#status {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    display: none;
}

.status-success {
    background: rgba(0, 200, 81, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
    display: block;
}

.status-error {
    background: rgba(255, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
    display: block;
}

.status-warning {
    background: rgba(255, 187, 51, 0.1);
    color: var(--warning);
    border: 1px solid var(--warning);
    display: block;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 255, 127, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Password reset section */
.password-reset-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.password-reset-btn {
    font-size: 0.9rem;
    padding: 0.8rem;
}

/* Achievements Section */
.achievements-section {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    border: 1px solid var(--glass-border);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.achievement-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 127, 0.2);
}

.achievement-item.locked {
    filter: grayscale(1);
    opacity: 0.7;
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.achievement-item.locked .achievement-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

.achievement-name {
    font-size: 0.8rem;
    text-align: center;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }

    .profile-card {
        padding: 20px;
    }

    .avatar {
        width: 140px;
        height: 140px;
    }

    #username {
        font-size: 1.6rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .language-switch {
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding: 15px;
    }

    .profile-card {
        padding: 15px;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

/* Floating notification */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 12px;
    background: var(--dark-light);
    color: var(--light);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.notification.show {
    opacity: 1;
    top: 30px;
}

.notification.success {
    border-left-color: var(--success);
}

.notification.error {
    border-left-color: var(--danger);
}

.notification.warning {
    border-left-color: var(--warning);
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* LTR Styles */
[dir="ltr"] body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

[dir="ltr"] .profile-section {
    direction: ltr;
}

[dir="ltr"] .workout-item:hover {
    transform: translateX(-5px);
}

[dir="ltr"] .avatar-edit {
    left: auto;
    right: 15px;
}

[dir="ltr"] .stat-card {
    border-left: none;
    border-right: 4px solid var(--primary);
}

[dir="ltr"] .stat-card.gold {
    border-left: none;
    border-right: 4px solid var(--gold);
}

[dir="ltr"] .stat-card.silver {
    border-left: none;
    border-right: 4px solid var(--silver);
}

[dir="ltr"] .stat-card.bronze {
    border-left: none;
    border-right: 4px solid var(--bronze);
}

[dir="ltr"] .workout-item {
    border-left: none;
    border-right: 3px solid var(--primary);
}

[dir="ltr"] .workout-item::after {
    background: linear-gradient(270deg, rgba(0, 255, 127, 0.03), transparent);
}

[dir="ltr"] .profile-card::before {
    left: auto;
    right: 0;
}

[dir="ltr"] .notification {
    border-left: none;
    border-right: 4px solid var(--primary);
}

[dir="ltr"] .notification.success {
    border-left: none;
    border-right: 4px solid var(--success);
}

[dir="ltr"] .notification.error {
    border-left: none;
    border-right: 4px solid var(--danger);
}

[dir="ltr"] .notification.warning {
    border-left: none;
    border-right: 4px solid var(--warning);
}

/* Base Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --success-color: #4cc9f0;
    --danger-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --border-radius: 10px;
    --box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000;
    background: white;
    padding: 4px 8px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    gap: 8px;
}

.language-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
}

.language-btn.active {
    background: var(--primary-color);
    color: white;
}

/* RTL/LTR Support */
body.arabic {
    direction: rtl;
    text-align: right;
}

body.english {
    direction: ltr;
    text-align: left;
}

/* Hide/show language elements */
.arabic-text { display: block; }
.english-text { display: none; }
.arabic-placeholder { display: block; }
.english-placeholder { display: none; }

body.english .arabic-text,
body.english .arabic-placeholder { display: none; }

body.english .english-text,
body.english .english-placeholder { display: block; }

/* Adjustments for RTL */
body.arabic .input-with-unit .unit {
    left: 12px;
    right: auto;
}

body.arabic .close-profile-btn {
    margin-left: 0;
    margin-right: auto;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 45px;
    height: 45px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

.loading-text {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 14px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
    padding: 15px;
}

.modal-container {
    background: white;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 15px;
    background: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-weight: 600;
    margin: 0;
    font-size: 18px;
}

.close-profile-btn {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 0 8px;
}

.modal-body {
    padding: 15px;
}

.modal-footer {
    padding: 12px 15px;
    background: #f8f9fa;
    text-align: center;
}

/* Form Elements */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 14px;
}

.input-with-unit {
    position: relative;
    margin-bottom: 8px;
}

.input-with-unit input {
    width: 100%;
    padding: 10px 35px 10px 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
}

body.arabic .input-with-unit input {
    padding: 10px 12px 10px 35px;
}

.input-with-unit input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.input-with-unit .unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 13px;
}

.input-range input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: #e9ecef;
    border-radius: 3px;
    outline: none;
}

.input-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.input-range input[type="range"]::-webkit-slider-thumb:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Experience Options */
.experience-options {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.option-card {
    flex: 1;
    position: relative;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.card-content {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.option-card input[type="radio"]:checked + .card-content {
    border-color: var(--primary-color);
    background: rgba(67, 97, 238, 0.05);
}

.option-card .icon {
    font-size: 20px;
    margin-bottom: 6px;
    display: block;
}

.option-card h4 {
    margin: 4px 0;
    color: var(--dark-color);
    font-size: 14px;
}

.option-card p {
    color: var(--gray-color);
    font-size: 12px;
    margin: 0;
}

/* BMI Preview */
.bmi-preview {
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 15px;
}

.bmi-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.bmi-label {
    font-size: 14px;
    margin-bottom: 4px;
}

.bmi-category {
    font-size: 13px;
    opacity: 0.9;
}

/* Save Button */
.save-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(67, 97, 238, 0.3);
}

body.arabic .save-btn {
    flex-direction: row-reverse;
}

.save-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(67, 97, 238, 0.4);
}

.save-btn:active {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .experience-options {
        flex-direction: column;
    }

    .modal-container {
        max-width: 100%;
    }

    .modal-header h3 {
        font-size: 16px;
    }

    .form-group label {
        font-size: 13px;
    }

    .input-with-unit input {
        padding: 8px 30px 8px 10px;
        font-size: 13px;
    }

    body.arabic .input-with-unit input {
        padding: 8px 10px 8px 30px;
    }

    .bmi-value {
        font-size: 32px;
    }
}
