* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
}

.profile-page {
    padding: 40px 20px;
    min-height: 600px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== PROFILE LAYOUT ===== */
.profile-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
}

/* ===== PROFILE PHOTO SECTION ===== */
.profile-photo-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-photo {
    width: 180px;
    height: 180px;
    margin-bottom: 25px;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
    border-radius: 50%;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    color: #377586;
    margin-bottom: 8px;
}

.profile-subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 25px;
}

.change-photo-btn {
    padding: 10px 30px;
    background: white;
    color: #377586;
    border: 2px solid #377586;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.change-photo-btn:hover {
    background: #377586;
    color: white;
}

/* ===== PROFILE FORM SECTION ===== */
.profile-form-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #377586;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #377586;
    box-shadow: 0 0 0 3px rgba(55, 117, 134, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.change-password-link {
    display: inline-block;
    font-size: 14px;
    color: #377586;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.change-password-link:hover {
    text-decoration: underline;
}

/* ===== FORM ACTIONS ===== */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-reset {
    background: white;
    color: #377586;
    border: 2px solid #d1d5db;
}

.btn-reset:hover {
    border-color: #377586;
}

.btn-primary {
    background: #377586;
    color: white;
    border: 2px solid #377586;
}

.btn-primary:hover {
    background: #2c5f6d;
    border-color: #2c5f6d;
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-title {
    font-size: 28px;
    font-weight: 600;
    color: #377586;
    margin-bottom: 30px;
}

.password-form .form-group {
    margin-bottom: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-photo-section,
    .profile-form-section {
        padding: 30px 20px;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .modal-title {
        font-size: 24px;
    }
}
