    /* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* ===== MAIN LAYOUT ===== */
.full-page {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.page-header {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: 25px;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
}

.page-content {
    display: flex;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ===== LEFT PANEL (AVATAR) ===== */
.left-panel {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #e0e6ed;
    padding-right: 20px;
}

.photo-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #007BFF;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 50%;
    display: block;
}

.avatar-wrapper img:hover {
    transform: scale(1.05);
}

.camera-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    color: #007BFF;
    transition: all 0.2s;
}

.camera-icon:hover {
    background: #007BFF;
    color: white;
}

#avatar-upload {
    display: none;
}

/* ===== RIGHT PANEL (FORM) ===== */
.right-panel {
    flex: 1;
    min-width: 0;
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #e0e6ed;
    margin-bottom: 25px;
    padding-bottom: 0;
}

.tab {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    position: relative;
    bottom: -2px;
}

.tab:hover {
    color: #007BFF;
}

.tab.active {
    color: #007BFF;
    border-bottom-color: #007BFF;
}

/* ===== FORM GROUPS ===== */
.form-group {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 150px;
    text-align: right;
}

.form-group input,
.form-group select {
    flex: 1;
    padding: 12px 14px;
    font-size: 14px;
    border: 2px solid #e0e6ed;
    border-radius: 6px;
    transition: all 0.3s;
    background: #fff;
}

.form-group input:hover,
.form-group select:hover {
    border-color: #007BFF;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input:disabled {
    background: #f5f7fa;
    cursor: not-allowed;
    color: #999;
}

/* ===== EDITABLE FIELD ===== */
.editable-field {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

.editable-field input {
    width: 100%;
    padding-right: 40px;
}

.editable-field select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 2px solid #e0e6ed;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    z-index: 10;
}

.edit-icon {
    position: absolute;
    right: 12px;
    font-size: 18px;
    color: #007BFF;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 5;
}

.edit-icon:hover {
    color: #0056b3;
    transform: scale(1.15);
}

/* ===== ERROR MESSAGE ===== */
.error-message {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 6px;
    min-height: 16px;
}

/* ===== FOOTER BUTTONS ===== */
.footer-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e6ed;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.footer-buttons.active {
    opacity: 1;
    visibility: visible;
}

.btn-save,
.btn-cancel {
    flex: 1;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-save {
    background: #007BFF;
    color: white;
}

.btn-save:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-save:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* ===== SUCCESS MODAL ===== */
.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: 1000;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
}

.check-success-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 15px;
}

.success-text {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* ===== ANIMATIONS ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
    .full-page {
        margin: 20px auto;
        padding: 0 10px;
    }

    .page-header {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .page-content {
        padding: 25px;
        gap: 25px;
    }

    .left-panel {
        flex: 0 0 160px;
        padding-right: 15px;
    }

    .avatar-wrapper {
        width: 130px;
        height: 130px;
    }

    .tabs {
        gap: 15px;
        margin-bottom: 20px;
    }

    .tab {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Tablet Portrait (768px - 899px) */
@media (max-width: 899px) {
    .page-content {
        flex-direction: column;
        gap: 0;
    }

    .left-panel {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #e0e6ed;
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .avatar-wrapper {
        width: 120px;
        height: 120px;
    }

    .page-header {
        font-size: 22px;
    }
}

/* Small Tablet / Large Mobile (600px - 767px) */
@media (max-width: 767px) {
    .full-page {
        margin: 15px auto;
        padding: 0 8px;
    }

    .page-header {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .page-content {
        padding: 20px;
        border-radius: 10px;
    }

    .avatar-wrapper {
        width: 110px;
        height: 110px;
    }

    .camera-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 18px;
    }

    .form-group label {
        text-align: left;
        min-width: auto;
        margin-bottom: 4px;
        font-size: 12px;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 10px 12px;
        font-size: 14px;
    }

    .tabs {
        gap: 10px;
        margin-bottom: 15px;
    }

    .tab {
        padding: 8px 12px;
        font-size: 13px;
    }

    .btn-save,
    .btn-cancel {
        padding: 10px 16px;
        font-size: 13px;
    }

    .footer-buttons {
        gap: 10px;
        margin-top: 20px;
        padding-top: 15px;
    }
}

/* Mobile (480px - 599px) */
@media (max-width: 599px) {
    .full-page {
        margin: 10px auto;
        padding: 0 5px;
    }

    .page-header {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .page-content {
        padding: 15px;
    }

    .avatar-wrapper {
        width: 100px;
        height: 100px;
    }

    .photo-label {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .camera-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        bottom: 2px;
        right: 2px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        padding: 9px 10px;
        font-size: 13px;
    }

    .editable-field input {
        padding-right: 35px;
    }

    .edit-icon {
        right: 10px;
        font-size: 16px;
    }

    .tabs {
        gap: 8px;
        margin-bottom: 12px;
    }

    .tab {
        padding: 8px 10px;
        font-size: 12px;
        flex: 1;
        text-align: center;
    }

    .error-message {
        font-size: 11px;
        margin-top: 4px;
    }

    .footer-buttons {
        flex-direction: column;
        gap: 8px;
        margin-top: 15px;
        padding-top: 12px;
    }

    .btn-save,
    .btn-cancel {
        padding: 10px 12px;
        font-size: 12px;
        flex: 1;
    }

    .modal-content {
        padding: 30px 20px;
        width: 90%;
        margin: 0 auto;
    }

    .check-success-icon {
        font-size: 50px;
    }

    .success-text {
        font-size: 16px;
    }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 479px) {
    .full-page {
        padding: 0 4px;
    }

    .page-header {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .page-content {
        padding: 12px;
    }

    .avatar-wrapper {
        width: 90px;
        height: 90px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group label {
        font-size: 11px;
    }

    .form-group input,
    .form-group select {
        padding: 8px 9px;
        font-size: 12px;
    }

    .tabs {
        gap: 5px;
    }

    .tab {
        padding: 7px 8px;
        font-size: 11px;
    }

    .btn-save,
    .btn-cancel {
        padding: 9px 10px;
        font-size: 11px;
    }

    .footer-buttons {
        margin-top: 12px;
        padding-top: 10px;
    }
}
    