@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Manrope:wght@200..800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #B4771B 0%, #92431C 100%);
    --primary-color: #B4771B;
    --secondary-color: #B05322;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

body{
    font-family: "DM Sans", sans-serif;
}
a{
    text-decoration: none;
}
img{
    max-width: 100%;
    height: auto;
}
h1{
    font-weight: 700;
    font-size: 60px;
    color: #ffffff;
    margin-bottom: 0px;
}
h2{
   font-weight: 700;
    font-size: 48px;
    color: #ffffff; 
    margin-bottom: 0px;
}
p{
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 0px;
    color: #222222;
}
.section-head h3{
    color: #222222;
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 20px;
}
.section-head h4{
    color: #222222;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 10px;
}
.section-head button{
    background-color: #763716;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    padding: 10px 20px;
}
.section-head h5{
   color: #222222;
   font-weight: 700;
    font-size: 28px;
    width: 50%;
    line-height: 1.4;
}
.section-head h5 span{
     background: -webkit-linear-gradient(83.79deg, #B4771B 3.25%, #92431C 96.85%);;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Header */

.navbar .navbar-brand img{
    width: 260px;
}
.navbar-expand-lg .navbar-collapse{
    justify-content: flex-end;
}
.navbar{
    backdrop-filter: blur(200px);
    background: #FFFFFFE3;
}
.navbar .nav-link {
  position: relative;
  color: #000000; /* Default text color */
  padding-bottom: 5px; /* Creates space for underline */
  transition: color 0.3s ease;
  font-size: 16px;
  font-weight: 400;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #000000;
  font-weight: 900;
  font-size: 16px;
}

.navbar .nav-link::after {
  content: "";
  position: absolute; 
  left: 0;
  bottom: -3px; /* Position underline below text */
  width: 0;
  height: 3px; /* Underline thickness */
  background-color: #7E4315; /* Underline color */
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%; /* Show underline on hover/active */
}
.navbar-expand-lg .navbar-nav .nav-link{
    margin: 0px 20px;
}
.navbar-button{
    display: flex;
    gap: 10px;
}
.navbar-button .login-btn{
   border: 1px solid #7C4D36;
   border-radius: 8px;
    color: #222222;
    font-weight: 400;
    font-size: 16px;
    background-color: transparent;
    padding: 5px 20px;
}
.navbar-button .free-btn{
   border: 1px solid #7C4D36;
   border-radius: 8px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    background-color: #763716;
    padding: 5px 20px;
}
.navbar-button .call-btn{
    display: flex;
    gap: 10px;
   border: 1px solid #B05322;
   border-radius: 8px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    background-color: #B05322;
    padding: 5px 10px;
}

/* Home */
/* Banner */

.hero a, .hero-1 a{
    border-radius: 8px;
    color: #007bff;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 12px;
    text-decoration: none;
}
.hero a:hover, .hero-1 a:hover{
    text-decoration: underline;
}
.hero p, .hero-1 p{
    color: #E6E8EC;
    font-weight: 400;
    font-size: 18px;
} 

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 18%;
}
.hero-1 .banner-img{
    position: relative;
    width: 100%;
    height: 450px;
}
.hero-1 .banner-text{
    top: 30%;
}
.hero-1 ul li{
    list-style: none;
}
.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-text {
    position: absolute;
    top: 20%;  /* center vertically */
    left: 50%; /* center horizontally */
    transform: translate(-50%, -50%);
    color: white; /* text color */
    text-align: center;
}
.banner-list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px; /* space from heading */
}
.banner-list {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
} 

/* Second Banner */
.head-text{
    position: absolute;
    top: 25%;
    left: 25%;
    right: 25%;
    text-align: center;
}
.head-text p {
    color: #ffffff;
    font-weight: 400;
    font-size: 24px;
    padding-top: 40px;
}
.head-text p span{
    clip-path: polygon(100% 0, 100% 49%, 100% 99%, 0% 100%, 5% 50%, 0% 0%);
    background: var(--primary-gradient);
    padding: 5px 10px 5px 25px;

}

/* Courtroom */
.courtroom{
    padding-top: 70px;
    padding-bottom: 70px; 
}
.courtroom .right-img{
    position: absolute;
    right: 15%;
    top: 12px;
}
.accordion-button:not(.collapsed){
    background-color: transparent;
    box-shadow: none;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 24px;
    padding: 15px 0px;
}
.accordion-body{
    color: #222222;
    font-weight: 400;
    font-size: 16px;
    padding: 10px 30px 15px 0px;
}
.accordion-button:focus{
    border: none;
    box-shadow: none;
}
.accordion-button::after{
    background-image: url(/images/plus.svg);
}
.accordion-button:not(.collapsed)::after{
    background-image: url(/images/minus.svg);
}
.accordion-button{
    color: #1E1B1B;
    font-weight: 600;
    font-size: 24px;
    padding: 20px 0px;
}
.accordion-item{
    border: none;
    border-bottom: 1px dashed #000000;
}
.tab-content{
   background-color: #FFF2E2; 
   border-radius: 26px;
   position: relative;
   padding: 30px;
   height: 80%;
}
.tab-content .tab-pane img{
    position: absolute;
    /* right: 0px;
    bottom: 0px; */
}
.tab-content .tab-pane img:nth-child(2){
    top: 40px;
    left: 20px;
}
.courtroom .tab-content .tab-pane button{
    background-color: #763716;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
    border: none;
    box-shadow: 0px 4.7px 14.1px 0px #00000014;
    padding: 10px 15px;
    border-radius: 5px;
    position: absolute;
    left: 30%;
    top: 10%;
}
.courtroom .tab-content .tab-pane button:nth-child(4){
    background-color: #FFE9B5;
    color: #222222;
    font-size: 20px;
    font-weight: 700;
    border: none;
    box-shadow: 0px 5.6px 16.8px 0px #00000014;
    border-radius: 6px;
    position: absolute;
    left: 65%;
    top: 18%;
}
.courtroom .tab-content .tab-pane button:nth-child(5){
    background-color: var(--secondary-color);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    border: none;
    box-shadow: 0px 5.6px 16.8px 0px #00000014;
    border-radius: 6px;
    position: absolute;
    left: 5px;
    top: 76%;
}

/* How Cases360 solves your pain points */
.points .section-head img{
    position: absolute;
    left: 15%;
    top: -45px;
}
.points .left-img img{
    width: 500px;
}
.point-list ul{
    padding-left: 0px;
    padding-top: 10px;
}
.point-list ul li{
    list-style: none;
    display: flex;
    align-items: flex-start;
    padding-bottom: 10px;
}
.point-list ul li img{
    padding-top: 5px;
    padding-right: 8px;
}
.point-list h3{
    color: #222222;
    font-weight: 700;
    font-size: 32px;;
}

/* Designed Specifically for Lawyers & Law Firms  */

.law-firms .section-head button{
    background-color: #763716;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border: none;
    padding: 10px 20px;
}
.law-firms .section-head h3{
    width: 468px;
}
.ind-section{
    border-bottom: 1px solid #000000;
    padding: 25px 0px;
}
.ind-section img{
    width: 58px;
    padding-bottom: 20px;
        /* margin-left: 40px; */
}
.ind-section h4{
    color: #222222;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.8px;
}
.vl-line{
    border-right: 1px solid #000000;
    height: 540px;
    width: 2px;
    margin-top: 50px;
}
.content-sect{
    margin-top: 100px;
    padding-right: 15px;
}
.content-sect-1{
    margin-top: -100px;
}

.banner-inside-img {
    background-image: url(/images/third-banner.webp);
    height: 660px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 35px;
    display: flex;
    align-items: center;
}
.banner-inside-img h3{
    color: #FFFFFF;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 30px;
}
.inside-list{
    background-color: #222222;
    border-radius: 12px;
    padding: 30px 0px;
}
.inside-list ul li{
    color: #FFFFFF;
    font-weight: 500;
    font-size: 22px;
    list-style: none;
    margin-bottom: 10px;
}
.inside-list ul li:last-child{
    margin-bottom: 0px;
}
.inside-list ul li img{
    padding-right: 15px;
}
.top-choice{
    margin-bottom: 15%;
}
/* CTA */

.cta-box{
   border: 4px solid #763716;
   box-shadow: 0px 8px 12px 0px #0000001F;
   border-radius: 4px;
   display: flex;
   justify-content: space-between;
   padding: 20px;
}
.cta-box img:nth-child(2){
    position: absolute;
    top: -170px;
    right: -98px;
}
.cta-box img:nth-child(3){
    position: absolute;
    right: 0px;
    bottom: 0px;
}
.cta-box img:nth-child(4){
    position: absolute;
    right: 0px;
    bottom: -80px;
}
.cta-box p{
    width: 54%;
}

/* Pricing */

.pricing-tabs{
    border: 2px solid #000000;
    border-radius: 4px;
    padding: 15px;
}
.pricing-tabs .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: #FFE9B5;
    color: #000000;
    font-weight: 700;
    font-size: 24px;
}
.pricing-tabs .nav-link{
    color: #464646;
    font-weight: 500;
    font-size: 24px;
}

.pricing-card{
    background-color: #FFF8F2;
    border-radius: 12px;
    padding: 20px;
    height: 510px;
}
.plan-border{
    border: 0.69px solid #B05322;
    border-radius: 11px;
    padding: 15px;
}
.plan-border h4{
    font-weight: 500;
    font-sizE: 20px;
    color: #763716;
    margin-bottom: 0px;
}
.pricing-card.featured {
    border: 2px solid #92431C;   
    box-shadow: 0px 6px 12px 0px #0000001F;
}
.pricing-card.featured .plan-border {
    background-color: #763716;
    box-shadow: 0px 6px 12px 0px #0000001F;
}
.pricing-card.featured .plan-border h4{
     color: #F1F0F0;
     font-weight: 500;
     font-size: 20px;
}
.pricing-card.featured .popular-badge{
    color: #FFE9B5;
    font-style: italic;
    font-size: 18px;
    font-weight: 400;
}
.price-section .currency, .price-section .price{
    color: #151515;
    font-weight: 500;
    font-size: 44px;
    font-family: "Josefin Sans", sans-serif;
    letter-spacing: -1px;
}
.price-section .period{
    color: #151515;
    font-weight: 200;
    font-size: 20px;
}
.price-detail{
    margin-bottom: 10%;
}
.plan-description{
    color: #5A5A5A;
    font-weight: 500;
    font-size: 14px;
}
.features-list{
    padding-left: 0px;
    padding-top: 12px;
}
.features-list li{
    list-style: none;
    color: #151515;
    font-weight: 500;
    font-size: 14px;
    padding-bottom: 12px;
}
.features-list li:last-child{
    padding-bottom: 0px;
}
.features-list li img{
    position: relative !important;
    padding-right: 5px;
}
.pricing-footer a{
    border: 0.69px solid #A4A4A4;
    border-radius: 8px;
    font-size: 14px;
    color: #151515;
    font-weight: 500;
    padding: 10px 30px;
}
.pricing-footer a:hover{
    background-color: #763716;
    color: #FFFFFF;
    border: 1px solid #763716;
}
.pricing-footer .featured{
    background-color: #763716;
    color: #FFFFFF;
    border: 1px solid #763716;
}
.pricing-footer .featured:hover{
    background-color: transparent;
    border: 0.69px solid #A4A4A4;
    border-radius: 8px;
    font-size: 14px;
    color: #151515;
    font-weight: 500;
    padding: 10px 30px;
}
.pricing-footer{
    margin-bottom: 15px;
}
.price-section{
    padding-top: 20px;
}
.gift-box-image{
    bottom: -10px;
    right: -10px;
}

/* Contact */

.hero .card{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
}
.form-label{
    color: #7D7D7D;
    font-weight: 500;
    font-size: 16px;
}
.form-control{
    padding: 15px;
    border: 1px solid #C3CAD9;
    border-radius: 8px;
    color: #222222;
    font-weight: 600;
    font-size: 16px;
    background-color: #ffffff;
}
.form-control:focus{
    border-color: 1px solid transparent;
    box-shadow: none;
}
.form-control::placeholder{
    color: #959EAD;
    font-weight: 600;
    font-size: 16px;
}
.form-check{
    padding-left: 0px;
}
.form-check p{
    color: #222222;
    font-weight: 400;
    font-size: 16px;
}
.hero .card .card-body{
    padding: 40px 60px;
    box-shadow: 0px 10px 35px 0px #00000008;
    box-shadow: 0px 4px 12px 0px #00000014;
    border: none;

}
.bg-brown-btn button{
    background-color: #763716;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 40px;
}
.bg-brown-btn button:hover{
    border: 0.69px solid #A4A4A4;
    color: #151515;
    font-weight: 600;
    font-size: 16px;
}
.calender{
   background-color: #763716;
   padding: 80px;
}
.calender p{
    color: #FFFFFF;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 0px;
    padding-top: 15px;
}
.contact img{
    background-color: #f7f3f1;
    border-radius: 16px;
    padding: 10px; 
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
}
.contact h3{
   font-weight: 700;
    font-size: 24px;
    color: #763716;
    margin-bottom: 20px;
}
.contact p{
    font-weight: 400;
    font-size: 16px;
    color: #B05322;
    line-height: 1.5;
    padding-bottom: 20px;
}
.contact a{
   font-weight: 700;
    font-size: 16px;
    color: #763716;
    text-decoration: none;
}
.contact button{
    color: #763716;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #763716;
    padding: 7px;
    border-radius: 8px;
    background-color: #ffffff;
}
.get-in{
    padding-top: 70px;
}
 .points{
    padding-bottom: 40px;
 }

 .footer .footer_logo{
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }
    .footer{
        font-family: "DM Sans", sans-serif;
        background-color: #fbfbfb;
        padding-top: 50px;
        padding-bottom: 20px;
        margin-top: 100px;
    }
    .footer p{
        font-size: 14px;
        margin-bottom: 5px;
        color: #000000;
    }
    .footer_title{
        font-size: 16px;
        font-weight: bold;
        color: #000000;
        font-family: "Figtree", sans-serif;
        margin-bottom: 20px;
    }
    .footer .footer-links ul i {
        margin-right: 3px;
        font-size: 12px;
        line-height: 0;
    }
    .list_style li{
        list-style: none;
        margin-bottom: 10px;
    }
    .footer ul{
        padding-left: 0px !important;
    }
    .list_style li::before {
        content: "\f285"; 
        font-family: 'bootstrap-icons';
        font-size: 12px;
        font-weight: normal;
        display: inline-block;
        margin-right: 8px;
        color: #e37b25; 
    }
    .list_style li a{
        text-decoration: none;
        color: #000000;
        font-size: 12px;
    }
    .footer .newsletter-form {
        margin-top: 30px;
        margin-bottom: 15px;
        padding: 6px 8px;
        position: relative;
        background-color: #EBE9E3;
        display: flex;
        transition: 0.3s;
        border-radius: 4px;
    }
    .footer .newsletter-form input[type=email] {
        border: 0;
        padding: 4px 8px;
        width: 100%;
        background-color: #EBE9E3;
        color: #000000;
        border-radius: 4px;
    }
    .footer .newsletter-form input[type=submit] {
        border: 0;
        font-size: 16px;
        padding: 0 20px;
        margin: -7px -9px -7px 0;
        background: linear-gradient(90deg, #E37B25 0%, #E57529 35%, #EC6637 78%, #F15C41 100%);
        color: #ffffff;
        transition: 0.3s;
        border-radius: 4px;
    }
    .footer .newsletter-form:focus {
        border-color: #e37b25;
    }
    .footer .newsletter-form input[type=email]:focus-visible{
        outline: none;
    }
    hr{
        border-top: 1px solid #e37b25;
        opacity: 1;
    }
    .copyright a{
        text-decoration: none !important;
    }
    .author{
        
        color: #E37B25;
        font-weight: 700;
        font-size: 14px;
    }

    #contactForm p{
       color: #222222;
       font-weight: 400;
       font-size: 16px; 
    }
    #contactForm button{
        background-color: #763716;
        color: #ffffff;
        font-weight: 600;
        font-size: 16px;
        border-radius: 8px;
        border: none;
        padding: 7px 20px;
    }
@media screen and (max-width: 768px) {
    h1 {
        font-size: 38px;
        margin-bottom: 15px;
    }
    h2{
        font-size: 24px;
        line-height: 1.5;
        letter-spacing: 0.5px;
    }
    .hero p, .hero-1 p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .navbar .navbar-brand img {
        width: 170px;
    }
    .navbar{
        background-color: #F3ECE5;
        padding: 0px;
    }
    .banner-img{
        height: 450px;
    }
    .navbar-toggler{
        background-color: #fff;
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        padding: 3px; 
        box-shadow: 0px 4px 12px 0px #0000001F;
    }
    .navbar-toggler-icon{
        background-image: url('/images/hamburger.svg');
        width: 22px;
        height: 22px;
    }
    .banner-text{
        position: absolute;
        top: 30%;
        left: 0px;
        transform: translate(0%, -50%);
        color: white;
        text-align: center;
    }
    .banner-list {
        position: absolute;
        top: 55%;
        width: 90%;
        left: 6%;
        transform: none;
        margin-top: 0px;
    }
    .hero {
        min-height: auto;
        padding-bottom: 10%;
    }
    .head-text{
        top: 0%;
        left: auto;
        right: auto;
        padding: 10px;
    }
    .Second-banner-img{
        height: 340px;
        object-fit: cover;
    }
    .head-text p {
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.5px;
        margin-top: 10px;
        padding-top: 0px;
    }
    .courtroom .right-img{
        display: none;
    }
    .section-head h3{
        font-size: 24px;
    }
    .courtroom{
        padding-top: 35px;
    }
    .accordion-body{
        padding: 0px;
    }
    .accordion-item:last-child{
        border-bottom: 0px;
    }
}


/* Login */

/* Base Styles */
.legal-login-bg {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Left Panel - Dark Side */
.left-panel {
    background: linear-gradient(135deg, #bf631f 0%, #745110 50%, #81330e 100%);
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="2" fill="%23B4771B" opacity="0.3"/><circle cx="80" cy="20" r="1.5" fill="%2392431C" opacity="0.2"/><circle cx="60" cy="70" r="2.5" fill="%23ffffff" opacity="0.1"/><circle cx="30" cy="80" r="1" fill="%23B4771B" opacity="0.2"/></svg>') repeat;
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

.left-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.brand-section-left {
    margin-bottom: 3rem;
}

.brand-icon-left {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.brand-title-left {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brand-subtitle-left {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.features-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: white;
}

.feature-item p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    line-height: 1.4;
}

/* Right Panel - Light Side */
.right-panel {
    background: linear-gradient(135deg, rgba(255, 249, 241, 0.9) 0%, rgba(248, 245, 237, 0.9) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

.right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(180, 119, 27, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(146, 67, 28, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Login Wrapper */
.login-wrapper {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0.5rem;
    position: relative;
    z-index: 2;
}

/* Brand Section */
.brand-section {
    margin-bottom: 1.5rem;
}

.brand-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.brand-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

/* Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(180, 119, 27, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.card-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
    border: none;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.login-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.card-body {
    padding: 1.5rem;
}

/* Custom Tabs */
.custom-tabs {
    border: none;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.2rem;
    margin-bottom: 1.5rem !important;
}

.custom-tabs .nav-item {
    flex: 1;
}

.custom-tabs .nav-link {
    border: none;
    border-radius: 8px;
    padding: 0.6rem 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-align: center;
    background: transparent;
    margin: 0;
    font-size: 0.9rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-tabs .nav-link.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-tabs .nav-link:hover:not(.active) {
    color: var(--primary-color);
    background: rgba(180, 119, 27, 0.05);
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    min-height: 44px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(180, 119, 27, 0.15);
    outline: none;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-valid {
    border-color: var(--success-color);
}

.invalid-feedback {
    display: block;
    font-size: 0.875rem;
    color: var(--danger-color);
    margin-top: 0.25rem;
}

/* Form Check */
.form-check {
    margin-bottom: 0;
}

.form-check-input {
    margin-top: 0.125rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Buttons */
.btn-login {
    background: var(--primary-gradient);
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    transition: all 0.3s ease;
    min-height: 44px;
    box-shadow: 0 4px 12px rgba(180, 119, 27, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #92431C 0%, #B4771B 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(180, 119, 27, 0.4);
    color: white;
}

.btn-login:focus {
    box-shadow: 0 0 0 0.2rem rgba(180, 119, 27, 0.25);
    color: white;
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(180, 119, 27, 0.3);
}

/* Links */
.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.forgot-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Footer */
.login-footer {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}


/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-8px) translateX(3px); }
    50% { transform: translateY(0px) translateX(-3px); }
    75% { transform: translateY(8px) translateX(2px); }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .left-content {
        padding: 1.5rem;
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .legal-login-bg {
        min-height: auto;
    }
    
    .right-panel {
        min-height: 100vh;
    }
}

@media (max-width: 575.98px) {
    .login-wrapper {
        padding: 0.25rem;
    }
    
    .brand-title {
        font-size: 1.75rem;
    }
    
    .brand-icon {
        font-size: 2rem;
    }
    
    .card-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .login-title {
        font-size: 1.25rem;
    }
    
    .custom-tabs .nav-link {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }
    
    .form-control {
        min-height: 42px;
        padding: 0.5rem 0.7rem;
    }
    
    .btn-login {
        min-height: 42px;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .brand-section {
        margin-bottom: 1rem;
    }
}

/* Error Pages */
.error-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.error-container {
    max-width: 800px;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.error-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(180, 119, 27, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.error-animation {
    position: relative;
    margin-bottom: 2rem;
    z-index: 2;
}

.error-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s infinite;
}

.error-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-content {
    position: relative;
    z-index: 2;
}

.error-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.error-message {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-suggestions {
    background: rgba(180, 119, 27, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.error-suggestions h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.suggestions-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.suggestions-list li:last-child {
    margin-bottom: 0;
}

.suggestions-list li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.error-actions .btn {
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.error-actions .btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 12px rgba(180, 119, 27, 0.3);
}

.error-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(180, 119, 27, 0.4);
}

.error-actions .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.error-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.error-footer {
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.error-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.error-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.error-footer a:hover {
    text-decoration: underline;
}

.user-card {
    z-index: 1000;
}

.user-card .card {
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .error-number {
        font-size: 3.5rem;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .suggestions-list {
        text-align: center;
    }
    
    .user-card {
        position: fixed;
        top: 1rem;
        right: 1rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .error-container {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .error-number {
        font-size: 3rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-icon {
        font-size: 2.5rem;
    }
    
    .error-suggestions {
        padding: 1rem;
    }
    
    .suggestions-list li {
        font-size: 0.9rem;
    }
}

/* High DPI and Zoom Support */
@media (min-resolution: 150dpi), (min-resolution: 1.5dppx) {
    .form-control {
        min-height: 52px;
        padding: 0.8rem 1rem;
    }
    
    .btn-login {
        min-height: 52px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .custom-tabs .nav-link {
        padding: 0.8rem 0.8rem;
        font-size: 1rem;
    }
    
    .login-wrapper {
        max-width: 580px;
        padding: 1rem;
    }
    
    .brand-icon {
        font-size: 3rem;
    }
    
    .brand-title {
        font-size: 2.2rem;
    }
    
    .login-title {
        font-size: 1.7rem;
    }
    
    .form-label {
        font-size: 1rem;
    }
}
