/* nav.tabs ul.tabs__nav > li.nav-item .nav-link {
    color: #000000;
} */
.tabs {
    position: relative;
    display: inline-block;
}
nav.tabs {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: #ffffff;
    box-shadow: 0px 2px 5px 2px rgba(0,0,0,0.3);
    border-radius: 50%;
    height: auto;
    transition: 0.2s ease;
    z-index: 999999;
}
.user-login-form{
    max-width: 400px;
        margin: 80px 0;
        display: flex;
        flex-flow: column;
        box-shadow: 0px 2px 6px 1px rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        padding: 20px;
        align-items: center;
        justify-content: center;
}
.user-profile-container .js-form-item {
    margin: 80px 0;
    margin-bottom: 80px !important;
    text-align: center;
}
nav .nav-item {
    padding: 10px 10px;
    color: #0047BA;
    transition: 0.2s ease;
}
nav .nav-item:hover{
    background-color: #0047BA;
    color: #ffffff;
}
.block-system-main-block .content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.user-pass{
    max-width: 400px;
    margin: 80px 0;
    display: flex;
    flex-flow: column;
   box-shadow:  0px 2px 6px 1px rgba(0,0,0,0.3);
   border-radius: 10px;
    padding: 20px;
    align-items: center;
    justify-content: center;
}
.form-control{
    border-radius: unset;
    border: 1px solid #0047BA;
}
.button.btn.form-control{
    width: 100%;
}
form .form-actions.form-wrapper{
    align-self: unset;
    width: 100%;
}
.local-action-ucdavis {
    position: relative;
    display: inline-block;
}
.tabs__nav {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 10;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

.tabs__nav .nav-link {
    display: block;
}
.local-action-ucdavis::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 20h9M16.5 3.5a2.121 2.121 0 013 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    margin: 10px;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tabs:hover .tabs__nav {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.user-login-form input {
    border: 1px solid var(--aggieblue);
}
.page-user-password input {
    border: 1px solid var(--aggieblue);
}
.user-login-form .form-submit{
    background-color: var(--aggieblue);
    color: var(--light);
    transition: 0.35s ease-in-out;
    border: unset;
    border-radius: 0px;
}
.page-user-password .form-submit {
    background-color: var(--aggieblue);
    color: var(--light);
    transition: 0.35s ease-in-out;
    border: unset;
    border-radius: 0px;
}
.user-login-form .form-submit:hover {
    background-color: var(--aggiegold);
    color: var(--aggieblue);
}
.page-user-password .form-submit:hover {
    background-color: var(--aggiegold);
    color: var(--aggieblue);
}
/*---404---*/
 .error-page-404 {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .ucd-page-not-found {
     width: 100%;
     background: linear-gradient(135deg, #001a3d 0%, #003366 100%);
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     overflow: hidden;
 }

 .ucd-page-not-found::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 8px;
     background: linear-gradient(90deg, #001a3d 0%, #0066cc 50%, #ffc107 100%);
     z-index: 2;
 }

 .ucd-background-shapes {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     overflow: hidden;
     z-index: 0;
 }

 .ucd-shape {
     position: absolute;
     border-radius: 50%;
 }

 .ucd-shape1 {
     width: 500px;
     height: 500px;
     background: rgba(255, 193, 7, 0.08);
     bottom: -250px;
     left: -150px;
 }

 .ucd-shape2 {
     width: 300px;
     height: 300px;
     background: rgba(0, 102, 204, 0.1);
     top: 100px;
     right: 100px;
 }

 .ucd-shape3 {
     width: 200px;
     height: 200px;
     background: rgba(255, 193, 7, 0.05);
     bottom: 150px;
     right: 200px;
 }

 .ucd-404-wrapper {
     padding: 60px 40px;
     text-align: center;
     position: relative;
     z-index: 1;
 }
 .ucd-403-wrapper {
     padding: 60px 40px;
     text-align: center;
     position: relative;
     z-index: 1;
 }
 .ucd-error-code {
     font-size: clamp(150px, 25vw, 300px);
     font-weight: 900;
     color: #fdb913;
     line-height: 0.85;
     margin-bottom: 20px;
     text-align: center;
     letter-spacing: -10px;
 }

 .ucd-404-wrapper .content{
     font-size: 18px;
     line-height: 1.6;
     color: var(--light);
     margin-bottom: 40px;
     font-weight: 400;
     text-align: center;
 }
 .ucd-403-wrapper .content {
     font-size: 18px;
     line-height: 1.6;
     color: var(--light);
     margin-bottom: 40px;
     font-weight: 400;
     text-align: center;
 }
 .ucd-button-group {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 20px;
     flex-wrap: wrap;
 }

 .ucd-btn {
     padding: 18px 50px;
     font-size: 16px;
     font-weight: 700;
     text-decoration: none;
     border: none;
     cursor: pointer;
     transition: all 0.3s ease;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .ucd-btn-primary {
     background: var(--aggiegold);
     color: var(--aggieblue);
    transition: all 0.3s ease;
     cursor: pointer;
 }

 .ucd-btn-primary:hover {
     background: var(--light);
 }

 @media (max-width: 767px) {
     .ucd-404-wrapper {
         padding: 40px 20px;
     }

     .ucd-error-code {
         margin-bottom: 10px;
         letter-spacing: -5px;
     }

     .ucd-error-description {
         font-size: 16px;
         margin-bottom: 30px;
     }

     .ucd-button-group {
         flex-direction: column;
     }

     .ucd-btn {
         width: 100%;
         text-align: center;
     }

     .ucd-shape1 {
         display: none;
     }

     .ucd-shape2,
     .ucd-shape3 {
         display: none;
     }
 }

 @media (max-width: 576px) {
     .ucd-error-code {
         font-size: 90px;
     }
 }