/*user_sub_nav*/

.user-tabs { 
    background-color: #385f6d;
    display: flex;
    gap: 10px;
    max-width: 1200px;
    align-items: center;
    margin: 3px auto;
    padding: 0 20px;
}
.user-tab {
    text-decoration: none;
    background: none;
    border: 1px solid transparent; 
    font-size: 1.2rem;
    padding: 1px 2px;
    cursor: pointer;
  
  /* Create the Circle Shape */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  
  transition: all 0.2s ease-in-out;
}
.user-tab:hover {
    background: #ffffff;
    color: #000;
}
.user-tab.active {
  background-color: #e0f2fe; /* Light blue background */
  border-color: #3b82f6;     /* Solid blue border ring */
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.main_subnav{
    margin-right: auto;
    font-weight: 600;
  color: #f1f3f7;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}
.right_subnav{
    display: flex;
  list-style: none;
  gap: 1.5rem;
}
/*end--- User subnav----*/


.u_settings_icon {
    background: none;       
    border: none;           
    padding: 0;             
    font-size: 1.2rem;      
    cursor: pointer;        
    transition: transform 0.2s;
}

.u_settings_icon:hover {
    transform: scale(1.2);  /* Makes it "pop" when you hover */
}

.two_columns{ 
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    
}
.left_col, .right_col{
    background-color: white;
    
}

.left_col{
    margin-right: 1rem;
}
.right_col{
    margin-left: 1rem;
}

.u_settings-header{
    text-align: center;
    background-color: white;
}

.u_settings-header p{
  font-style: italic;
  background: rgba(124, 111, 111, 0.3);
  backdrop-filter: blur(10px); /* This blurs the content behind the box */
  border-radius: 8px;
  padding: 10px;
}

.u_card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 1px solid #eef0f2;
}

.u_card h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #34495e;
    margin-bottom: 15px;
}
.form-group{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#emailForm label, #pwForm label, #pwhForm label{
    font-size: 0.95rem;
    box-sizing: border-box;
    line-height: 20px;
}
#emailForm input, #pwForm input, #pwhForm input{
    width: 80%;
}
/*Change info (Email) */
.btn_change_info{
   background-color: #03091f; color: white;font-weight: 600; padding: 10px 30px; 
   border: none; border-radius: 4px; margin-top: 1rem;
}

/*Change Password*/
.notice-card{
    background-color: #f3f4f6; color: #374151; border: 1px solid #d1d5db;
}
.u_notice{
    background-color: #f3f4f6; color: green; margin-bottom: 20px;
}

.btn_update_password{
    background-color: #4f46e5; color: white;font-weight: 600; padding: 10px 30px;
    border: none; border-radius: 4px; cursor: pointer;transition: opacity 0.2s;
}

/*Update Hint*/
.btn_update_hint{
    background-color: #180419; color: white; font-weight: 600; padding: 10px 30px;
    border: none; border-radius: 4px; cursor: pointer;transition: opacity 0.2s;
}

.hint_text{
    font-size: 0.85rem;
    color: #7f8c8d;
}
/*Logout All devices*/
.warning-card{
    border: 1px dashed #f59e0b; border-radius: 5px;
}
.warning-card p{
    color: #472e03;
}
.btn-logout_all{
   background-color: #f59e0b; color: white; font-weight: 600; padding: 10px 30px;
    border: none; border-radius: 4px; cursor: pointer;transition: opacity 0.2s;
    white-space: nowrap;
}

/*Delete user account*/
.danger-card {
    border: 1px dashed #fca5a5;
    background-color: #fffafb;
}

.danger-card h3 {
    color: #991b1b;
}

.danger-card p {
    font-size: 0.85rem;
    color: #b91c1c;
    margin-bottom: 15px;
}

.btn-delete-account{
    background-color: #d9534f; color: white; font-weight: 600; padding: 10px 20px; border: none; 
    transition: opacity 0.2s;
    white-space: nowrap; border-radius: 4px; cursor: pointer;
}
.btn-cancel{
    background-color: #c8b044; color: white; font-weight: 600; padding: 10px 20px; border: none; 
    transition: opacity 0.2s;
    white-space: nowrap; border-radius: 4px; cursor: pointer;
}


@media (min-width: 768px){
    .two_columns{
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

