* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    background: #F2EEE0;
    padding: 30px;
}

@media screen and (max-width: 400px) {

    .login-container{
        padding: 0px;
    }
}


.left-panel {
    flex: 1.7;
    background-image: url('/images/coffee-login-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: none;
    width: 772px;
    height: 100%;
    opacity: 1;
 
    border-radius: 30px;
    align-items: flex-end;
    @media screen and (max-width: 1222px) {
        flex: 1.4;
    }
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.left-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 48px;
    color: white;
}

.logo img{
    width: 72px;
    height: 29.808px;
    opacity: 1;
}
.logo{
    padding-bottom: 21px;
}

.left-main h1 {
    font-family: Degular;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 40px;
    line-height: 50px;
}

.left-main p {
    font-family: DM Sans;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}

.left-footer {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}
.percup-login{
    position: absolute;
  width: 162px;
  height: 27px;
    top: 5px;
   
}


@media screen and (max-width: 400px) {
    .welcome-title{
      font-size: 5px;
    }
}

@media screen and (max-width: 1023px) {
    .percup-login {
        top: 30px;
    }
}


@media screen and (max-width: 900px) {
    .percup-login {
        top: 19px;
    }
}

@media screen and (max-width: 500px) {
    .percup-login {
        width: 122px;
        height: 20px;
    }
}




.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 132px;
    flex-direction: column;

}

@media screen and (max-width: 700px) {
    .right-panel { 
        padding-inline: 0px;
     
    }

}

.form-container {
    width: 100%;
    max-height: 100%;
    overflow-y: auto;

}

.right-container{
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 50px;
}

.brand-title {
    text-align: justify;
    margin-bottom: 32px;
}

.brand-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 8px;
}

.welcome-section h2 {
    font-family: Degular;
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 40px;
    line-height: 50px;
    vertical-align: middle;
    @media screen and (max-width: 1412px) {
        font-size: 35px;
    }
    @media screen and (max-width: 1104px) {
        font-size: 30px;
    }
}

@media screen and (max-width: 400px) {
    .welcome-section h2 {
        font-size: 25px;
    }
}








.welcome-section p {
    font-family: DM Sans;
    font-size: 15px;
    color: #3E4853;
    margin-bottom: 28px;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    vertical-align: middle;
}

.tabs {
    display: flex;
    padding: 6px;
    margin-bottom: 28px;
    border: 1px solid #e9ecef;
    width: 360px;
    height: 64px;
    opacity: 1;
    border-radius: 13.01px;
    border-width: 0.54px;
    background: #FFFFFF;
}

@media screen and (max-width: 450px) {

    .tabs{
        width: auto;
    }
}

.tab {
    font-family: DM Sans;
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    font-weight: 500;
    font-size: 18px;
    color: #2C2C2C;
}


@media screen and (max-width: 340px) {

    .tab{
        padding: 10px 18px;
    }
}


.tab.active {
    color: white;
    width: 159.75px;
    height: 46.64px;
    opacity: 1;
    border-radius: 10.84px;
    background: #CDA881;
    font-weight: 600;
    font-size: 18px;
}

.tab:not(.active):hover {
    color: #4b5563;
    background: rgba(210, 105, 30, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group.half {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
}


@media (max-width: 400px) {
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
    
}


.form-row .form-group {
    flex: 1;
}

.brand-title {
    align-self: start;
}

.brand-title img {
    height: 40px;
    width: auto;
}

.form-label {
    font-family: DM Sans;
    display: block;
    font-size: 16px;
    line-height: 20.6px;
    font-weight: 400;
    color: #374151;
    margin-bottom: 8px;
}

.input-container {
    position: relative;
}

.form-input {
    font-family: DM Sans;
    height: 52.04px;
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: none;
    border-radius: 17px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}
.login-icon{
    position: absolute;
    left:2px;
    transform: translate(72%,83%);
}
.form-input:focus {
    outline: none;
    border-color: #D2691E;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
    background: white;
}

.form-input::placeholder {
    color: #808080;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
}

.submit-btn {
    font-family: DM Sans;
    padding: 14px;
    background: #902921;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border-radius: 13.01px;
    width: 100%;
    height: 48.78px;
    position: relative;
}

.submit-btn:hover {
    background: #8B1538;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
}
.succ-status-icon{
    padding-right: 10px;
}

.support-link {
    text-align: center;
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 400;
    border-top: 1px solid #D1D1D1;
}
.support-link p{
    font-family: DM Sans;
    padding-top: 20px;
}


.support-link a {
    color: #902921;
    text-decoration: none;
    font-weight: 500;
}

.support-link a:hover {
    color: #8B1538;
    text-decoration: underline;
}

.error-message {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
}
.error-box, .otp-error-box {
    display: flex;
    align-items: flex-start;
    background-color: #ffe5e5;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 10px;
    font-size: 14px;
    color: #FFE2E0;
    margin-bottom: 16px;
}
.success-box{
    display: flex;
    align-items: flex-start;
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 10px;
    font-size: 14px;
    color: #5B6B79;
    margin-bottom: 16px;
}
.thanku-titile{
    font-family: DM Sans;
    font-weight: 500;
    color: #902921;
    font-size: 14px;
    line-height: 22px;
}
.thanku-p{
    font-family: DM Sans;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #5B6B79;
}

.error-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    color: #902921;
}

.error-text, .otp-error-text{
    font-family: DM Sans;
    line-height: 1.4;
    color:#5B6B79;
}
.err-msg-title{
    font-family: DM Sans;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    padding-bottom: 9px;
}
.err-msg-content{
    font-family: DM Sans;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
}
.btn-disabled {
    background-color: white !important;
    color: #CFD1D4 !important;
    cursor: not-allowed;
}
.input-red{
    color: #902921;
}
.otp-input {
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border-radius: 8px;
}
.otp-title{
    font-family: DM Sans;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    color: #3E4853;
    padding-bottom: 9px;
}
.otp-content{
    font-family: DM Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #5B6B79;
}
.otp-content span{
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    line-height: 22px;
}
.otp-input {
    width: 80px;
    height: 70px;
    margin-right: 8px;
    text-align: center;
    font-size: 24px;
    border: none;
    border-radius: 12px;
    background-color: #fff;
    color: #333;
}

.otp-input:focus {
    border-color: #A52A2A; /* Optional: PERCUP red highlight */
}

.otp-container {
    display: flex;
    justify-content: left;
    gap: 14px;
    margin: 20px 0;
}
.otp-input::placeholder {
    color: #CFD1D4;
    font-size: 24px;
    line-height: 60px;
    vertical-align: middle;
}
.google-btn {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 13.01px;
    line-height: 21.68px;
    letter-spacing: 0px;
    width: 100%;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: #1A1A1A;
}

.google-btn:hover {
    background: #f8f8f8;
    border-color: #d4a574;
}

.google-icon {
    width: 18px;
}
.resent-txt{
    color: #902921;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    text-align: right;
    text-decoration: underline;
    text-decoration-style: solid;
}
@media (min-width: 1024px) {
    .left-panel {
        display: flex;
    }
}

@media (max-width: 1023px) {
    .right-panel {
        background: white;
    }
    
    .form-container {
        box-shadow: none;
        background: transparent;
        padding: 20px;
    }
    
    .mobile-logo {
        text-align: center;
        margin-bottom: 32px;
    }
    
    .mobile-logo h2 {
        font-family: DM Sans;
        font-size: 28px;
        font-weight: 700;
        color: #8B4513;
    }
    
}





@media (max-width: 400px) {

    
    .right-container {
    
        align-items: start;
    }

    
}



.spinner {
    display: none;
    width: 27px;
    height: 27px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


