/*=========================================
        SECURITY
=========================================*/

.security-section{

    margin-bottom:45px;

}

.section-heading{

    margin-bottom:30px;

}

.section-heading h2{

    color:#1d3557;

    font-size:1.8rem;

    margin-bottom:10px;

}

.section-heading p{

    color:#64748b;

    line-height:1.8;

}

.security-card{

    background:#ffffff;

    border-radius:24px;

    padding:40px;

    box-shadow:0 10px 25px rgba(15,23,42,.08);

}

.security-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-bottom:30px;

}

.form-group{

    display:flex;

    flex-direction:column;

}

.form-group label{

    margin-bottom:10px;

    font-weight:600;

    color:#1d3557;

}

.form-group input{

    padding:15px;

    border:1px solid #dbe4f0;

    border-radius:12px;

    font-size:1rem;

    outline:none;

    transition:.3s;

}

.form-group input:focus{

    border-color:#2563eb;

}

.security-actions{

    display:flex;

    justify-content:flex-end;

}

.password-btn{

    background:#2563eb;

    color:#ffffff;

    border:none;

    border-radius:12px;

    padding:15px 28px;

    cursor:pointer;

    font-weight:600;

    display:flex;

    align-items:center;

    gap:10px;

    transition:.3s;

}

.password-btn:hover{

    background:#1d4ed8;

}

@media(max-width:768px){

    .security-grid{

        grid-template-columns:1fr;

    }

    .security-actions{

        justify-content:center;

    }

}

/*=========================================
        NOTIFICATIONS
=========================================*/

.notifications-section{

    margin-bottom:45px;

}

.notifications-card{

    background:#ffffff;

    border-radius:24px;

    padding:35px;

    box-shadow:0 10px 25px rgba(15,23,42,.08);

}

.notification-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 0;

    border-bottom:1px solid #eef2f7;

}

.notification-item:last-child{

    border-bottom:none;

}

.notification-item h3{

    color:#1d3557;

    margin-bottom:8px;

}

.notification-item p{

    color:#64748b;

    font-size:.95rem;

}



/*=========================================
        TOGGLE SWITCH
=========================================*/

.switch{

    position:relative;

    display:inline-block;

    width:55px;

    height:30px;

}

.switch input{

    opacity:0;

    width:0;

    height:0;

}

.slider{

    position:absolute;

    cursor:pointer;

    inset:0;

    background:#cbd5e1;

    transition:.3s;

    border-radius:30px;

}

.slider:before{

    content:"";

    position:absolute;

    width:22px;

    height:22px;

    left:4px;

    bottom:4px;

    background:#ffffff;

    transition:.3s;

    border-radius:50%;

}

.switch input:checked + .slider{

    background:#2563eb;

}

.switch input:checked + .slider:before{

    transform:translateX(25px);

}

@media(max-width:768px){

    .notification-item{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;

    }

}

/*=========================================
        ACCOUNT ACTIONS
=========================================*/

.account-actions-section{

    margin-bottom:40px;

}

.actions-card{

    background:#ffffff;

    border-radius:24px;

    padding:35px;

    box-shadow:0 10px 25px rgba(15,23,42,.08);

}

.action-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    padding:25px 0;

    border-bottom:1px solid #eef2f7;

}

.action-item:last-child{

    border-bottom:none;

}

.action-item h3{

    color:#1d3557;

    margin-bottom:10px;

}

.action-item p{

    color:#64748b;

    line-height:1.7;

}

.logout-btn,

.delete-btn{

    border:none;

    border-radius:12px;

    padding:14px 28px;

    cursor:pointer;

    font-weight:600;

    display:flex;

    align-items:center;

    gap:10px;

    transition:.3s;

}

.logout-btn{

    background:#2563eb;

    color:#ffffff;

}

.logout-btn:hover{

    background:#1d4ed8;

}

.delete-btn{

    background:#fee2e2;

    color:#dc2626;

}

.delete-btn:hover{

    background:#fecaca;

}

@media(max-width:768px){

    .action-item{

        flex-direction:column;

        align-items:flex-start;

    }

    .logout-btn,

    .delete-btn{

        width:100%;

        justify-content:center;

    }

}