.cn-profile{

    max-width:700px;
    margin:40px auto;
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.cn-profile h1{

    margin-bottom:30px;
    color:#21409a;

}

.cn-profile label{

    display:block;
    margin:18px 0 8px;
    font-weight:600;

}

.cn-profile input,
.cn-profile textarea{

    width:100%;
    border:1px solid #ddd;
    border-radius:10px;
    padding:14px;
    font-size:16px;

}

.cn-profile textarea{

    resize:vertical;

}

.cn-button{

    margin-top:25px;
    background:#21409a;
    color:#fff;
    border:0;
    padding:15px 35px;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;

}

.cn-success{

    max-width:700px;
    margin:20px auto;
    background:#d4edda;
    color:#155724;
    padding:15px;
    border-radius:8px;

}


.cn-account-sidebar{

    width:260px;
    background:#fff;
    border-radius:16px;
    padding:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.cn-account-sidebar h2{

    margin:0 0 20px;
    color:#21409a;
    font-size:28px;
    font-weight:700;

}

.cn-account-sidebar ul{

    list-style:none;
    margin:0;
    padding:0;

}

.cn-account-sidebar li{

    margin-bottom:10px;

}

.cn-account-sidebar li a{

    display:flex;
    align-items:center;
    gap:10px;

    padding:14px 18px;

    text-decoration:none;

    color:#333;

    border-radius:10px;

    font-weight:600;

    transition:.25s;

}

.cn-account-sidebar li a:hover{

    background:#f4f7ff;
    color:#21409a;

}

.cn-account-sidebar li.active a{

    background:#21409a;
    color:#fff;

}

.cn-account{

    max-width:1200px;
    margin:50px auto;

    display:flex;

    gap:40px;

    align-items:flex-start;

}

.cn-account-sidebar{

    width:260px;
    flex-shrink:0;

}

.cn-account-content{

    flex:1;

}

.cn-error{

    margin-bottom:20px;
    padding:15px;

    background:#fdecea;

    color:#b71c1c;

    border-radius:10px;

}

.cn-profile-form{

    display:flex;
    flex-direction:column;

}

.cn-profile-form label{

    display:block;
    margin:18px 0 8px;
    font-weight:600;

}

.cn-profile-form input{

    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;

}

.cn-profile-form .cn-button{

    margin-top:25px;
    width:220px;

}

.cn-success{

    background:#d4edda;
    color:#155724;
    border:1px solid #c3e6cb;

    padding:15px;

    border-radius:10px;

    margin-bottom:20px;

    font-weight:600;

}

.cn-avatar-img,
.avatar{

    width:180px;
    height:180px;

    border-radius:50%;

    object-fit:cover;

    display:block;

    margin-bottom:25px;

}

.cn-account-content input[type=file]{

    margin:20px 0;

}

/* Card do Avatar */

.cn-avatar{

    max-width:500px;

}

.cn-avatar img{

    width:180px;
    height:180px;

    border-radius:50%;

    object-fit:cover;

    display:block;

    margin:0 auto 30px;

    border:5px solid #f2f2f2;

}

/* Formulário */

.cn-avatar form{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:15px;

}

/* Texto */

.cn-avatar label{

    font-weight:600;

    color:#444;

}

/* Input */

.cn-avatar input[type=file]{

    font-size:14px;

}

/* Botão */

.cn-avatar .cn-button{

    min-width:150px;

}