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

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

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

.customerregister .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);
}

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

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

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

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

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

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

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

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

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

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

.customerregister .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;
}

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

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

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

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

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

.customerregister .form-header {
    text-align: start;
    /* margin-bottom: 2rem; */
}

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

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

.customerregister .form {
    display: flex;
    flex-direction: column;
}

.customerregister .form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.customerregister .form-group input,
.customerregister .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;
}

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

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

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

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

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

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

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

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

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

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

.customerregister .submit-btn {
    width: max-content;
    background: #ef4444;
    color: white;
    font-weight: 500;
    margin-top: 6px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

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

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

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

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

.customerregister .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid #967947;
    accent-color: #967947;
}

.customerregister .checkbox-group input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(150, 121, 71, 0.25);
    border-color: #967947;
}

.customerregister .checkbox-group input[type="checkbox"]:checked {
    background-color: #967947;
    border-color: #967947;
}

.customerregister .form {
    max-width: 700px;
    margin: auto;
}

.customerregister .role-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.customerregister .role-button {
    flex: 1;
    padding: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.customerregister .role-button.active {
    background-color: #fa3030;
    color: white;
    border-color: #fa3030;
}

.customerregister .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.customerregister .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.customerregister .form-group input,
.customerregister .form-group select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 1px;
}

.customerregister .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customerregister .submit-btn {
    width: max-content;
    background: #ef4444;
    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;
}

.customerregister .signup-link {
    margin-top: 15px;
    text-align: left;
}

.customerregister .link-btn,
.customerregister .forgot-password {
    background: none;
    border: none;
    /* color: #007bff; */
    cursor: pointer;
    padding: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .customerregister .container {
        flex-direction: column;
    }

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

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

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

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