.customerlogin {
    max-width: 1200px;
    margin: auto;
    margin-bottom: 22px;
    box-shadow: 0px 3px 5px #d8d8d8;
}

.customerlogin .container {
    display: flex;
    /* min-height: 100vh; */
}

/* Left Section */
.customerlogin .left-section {
    flex: 1;
    background: linear-gradient(90deg, #FE4E44 0%, #9F0900 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.customerlogin .decorative-circle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(8rem, 8rem);
}

.customerlogin .decorative-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 8rem;
    height: 8rem;
    opacity: 0.2;
}

.customerlogin .decorative-line::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: white;
    transform: rotate(-45deg) translate(2rem, -2rem);
}

.customerlogin .content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    height: 100%;
}

.customerlogin .hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.customerlogin .hero-content p {
    font-size: 14px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.customerlogin .testimonial {
    margin-top: 3rem;
}

.customerlogin .star-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.customerlogin .star {
    width: 1.5rem;
    height: 1.5rem;
    width: 1.5rem;
    visibility: visible;
    height: 1.5rem;
    position: relative;
    left: 0;
    opacity: 1;
    color: #fbbf24;
}

.customerlogin .testimonial blockquote {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.customerlogin .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.customerlogin .author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customerlogin .author-avatar svg {
    width: 1.5rem;
    height: 1.5rem;
}

.customerlogin .author-name {
    font-weight: 600;
}

.customerlogin .author-title {
    font-size: 0.875rem;
    opacity: 0.75;
}

/* Right Section */
.customerlogin .right-section {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid lightgrey;
}

.customerlogin .form-container {
    width: 100%;
    max-width: 34rem;
}

.customerlogin .form-header {
    text-align: start;
    margin-bottom: 2rem;
    width: 83%;
}

.customerlogin .form-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.customerlogin .form-header p {
    color: #6b7280;
}

.customerlogin .form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.customerlogin .form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.customerlogin .form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.customerlogin .form-group input,
.customerlogin .select-container select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.customerlogin .form-group input:focus,
.customerlogin .select-container select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.customerlogin .select-container {
    position: relative;
}

.customerlogin .select-container select {
    appearance: none;
    background: white;
    padding-right: 2.5rem;
}

.customerlogin .select-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: #6b7280;
    pointer-events: none;
}

.customerlogin .form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customerlogin .checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.customerlogin .checkbox-group input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.customerlogin .checkbox-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.customerlogin .forgot-password {
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

.customerlogin .forgot-password:hover {
    color: #1d4ed8;
}

.customerlogin .submit-btn {
    width: max-content;
    background: linear-gradient(90deg, #FE4E44 0%, #9F0900 100%);;
    color: white;
    font-weight: 500;
    margin-top: 26px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.customerlogin .submit-btn:hover {
    background: #dc2626;
}

.customerlogin .signup-link {
    text-align: left;
    font-size: 0.875rem;
    color: #6b7280;
}

.customerlogin .link-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

.customerlogin .link-btn:hover {
    color: #dc2626;
}

/* Remember me checkbox – match gold accent */
.customerlogin .custom-control-label::before {
    border: 1px solid #967947;
}

.customerlogin .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(150, 121, 71, 0.25);
    border-color: #967947;
}

.customerlogin .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #967947;
    background-color: #967947;
}

/* Responsive Design */
@media (max-width: 768px) {
    .customerlogin .container {
        flex-direction: column;
    }
    .customerlogin .form-header{
         width: 95%;
    }

    .customerlogin .left-section {
        padding: 2rem;
        display: none;
    }

    .customerlogin .form-container {
        max-width: 28rem;
    }

    .customerlogin .hero-content h1 {
        font-size: 2rem;
    }

    .customerlogin .hero-content p {
        font-size: 1rem;
    }

    .customerlogin .right-section {
        padding: 1rem;
    }
    .customerlogin {
        padding: 1rem 15px;
    }
}
