
.profile-outer {
    min-height: 80vh;
}

.profile-main {
    background: #fff;
    border-radius: 18px;
    margin: 32px auto;
    width: 60vw;
    min-width: 320px;
    max-width: 700px;
    box-shadow: 0 2px 16px 0 rgba(24, 24, 139, 0.06);
    padding: 32px 24px 32px 24px;
}


.profile-main .profile-tabs {
    border-bottom: none;
    margin-bottom: 2rem;
}

.profile-main .profile-tabs .nav-link {
    color: #18188B;
    font-weight: 500;
    border: none !important;
    background: transparent;
    border-bottom: 2.5px solid transparent !important;
    margin-right: 24px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    padding: 12px 24px 12px 16px;
    transition: all 0.2s ease;
    border-radius: 12px 12px 0 0;
    text-decoration: none;
}

.profile-main .profile-tabs .nav-link i {
    margin-right: 8px;
    font-size: 1.2em;
}

.profile-main .profile-tabs .nav-link:hover {
    background: #f0f2ff;
    color: #2323a6;
    border-bottom: 2.5px solid #bfc2f7 !important;
    text-decoration: none;
}

.profile-main .profile-tabs .nav-link.active {
    color: #18188B;
    border-bottom: 2.5px solid #18188B !important;
    background: #f0f2ff;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
    text-decoration: none;
}

.profile-main .section-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #18188B;
}

.profile-main .account-settings,
.profile-main .settings-form {
    background: #f8fafb;
    border-radius: 16px;
    padding: 2rem 1.5rem;
}

.profile-main .setting-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(12, 26, 50, 0.1);
}

.profile-main .setting-item:last-child {
    border-bottom: none;
}

.profile-main .profile-label {
    color: #888;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.profile-main .profile-value-main {
    color: #18188B;
    font-size: 1.18rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    letter-spacing: 0.01em;
}

.profile-main .edit-btn {
    color: #888;
    padding: 0.5rem;
    border: none;
    background: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.profile-main .edit-btn:hover {
    color: #18188B;
}

.profile-main .octagon-user {
    width: 48px;
    height: 48px;
    background-color: #18188B;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 500;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(24, 24, 139, 0.18);
    letter-spacing: 1px;
}

.profile-main .btn-primary {
    background: #18188B !important;
    color: #fff !important;
    border-radius: 16px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 4px 18px !important;
    border: none !important;
    margin-left: 18px !important;
    transition: background 0.2s !important;
}

.profile-main .btn-primary:hover {
    background: #2323a6 !important;
}

.profile-main .btn-danger {
    background-color: #dc3545;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 28px;
    transition: background 0.2s;
}

.profile-main .btn-danger:hover {
    background: #b91d2b;
}

.profile-main .text-muted {
    color: #888 !important;
    font-size: 0.95rem;
}

@media (max-width: 700px) {
    .profile-main {
        padding: 12px 2px;
        width: 98vw;
    }

    .profile-main .account-settings,
    .profile-main .settings-form {
        padding: 1rem 0.5rem;
    }
}

.nav-tabs {
    border-bottom: 1px solid rgba(12, 26, 50, 0.1);
}

.nav-tabs .nav-link {
    color: var(--text-color);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    position: relative;
}

.nav-tabs .nav-link:hover {
    border: none;
    color: var(--button-bg);
}

.nav-tabs .nav-link.active {
    color: var(--button-bg);
    border: none;
    background: none;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--button-bg);
}



.contact-item {
    margin-bottom: 1rem;
}

.contact-label {
    font-weight: 500;
    color: #666;
    margin-bottom: 0.25rem;
}

.contact-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.edit-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.edit-btn:hover {
    color: #007bff;
}

.edit-form {
    margin-top: 0.5rem;
}

.edit-form .input-group {
    max-width: 300px;
}

.edit-form .btn {
    margin-left: 0.5rem;
}

.text-danger {
    color: #dc3545 !important;
}


input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
}

input[type="search"]::-webkit-search-cancel-button {
    display: none;
}


input[type="password"]::-ms-reveal {
    display: none;
}
input[type="password"]::-ms-clear {
    display: none;
}


.modal .input-icon-group {
    display: flex;
    align-items: center;
    border: 1px solid #d3d3d3;
    border-radius: 24px;
    background: #fff;
    padding: 0 0.5rem;
    height: 44px;
    transition: border-color 0.2s;
}

.modal .input-icon-group:focus-within {
    border-color: #007bff;
}

.modal .input-icon-group input {
    border: none;
    outline: none;
    box-shadow: none;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    padding: 0.5rem 0.75rem;
}

.modal .input-icon-group button.toggle-password {
    border: none;
    background: none;
    outline: none;
    box-shadow: none;
    padding: 0 0.5rem;
    cursor: pointer;
    color: #888;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.modal .input-icon-group button.toggle-password:active,
.modal .input-icon-group button.toggle-password:focus {
    outline: none;
    box-shadow: none;
}

.modal .input-icon-group input::placeholder {
    color: #bbb;
    opacity: 1;
}

.modal .form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}