.login-detail {
    display: flex;
    /* Two equal-width columns */
    gap: 40px;
    /* padding: 20px;
    border-radius: 10px; */
    min-height: calc(100vh - 500px);
    justify-content: center;
}

.login-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

/* --- Right Column: Product Details --- */
.login-details-column {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 20px;
    background-color: var(--bg-gray);
    border-radius: 0 10px 10px 0;
    width: 50%;
}

.login-details-column h1 {
    font-size: 2rem;
    color: var(--black);
}


.login-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
}

.register-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:100%;
    gap: 20px;
}

/* --- Right Column: Product Details --- */
.register-details-column {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    background-color: var(--bg-gray);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 20px;
}


.register-details-column h1 {
    font-size: 2rem;
    color: var(--black);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px;
}


.register-form input,
.register-form select,
.register-form textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Styling for all form controls */
.register-form input,
.register-form textarea,
.register-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 6px;
    font-size: 1rem;
    background-color: var(--bg-input-gray);
    color: var(--text-white);
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; /* Crucial for responsive design */
}

.register-form input:focus,
.register-form textarea:focus,
.register-form select:focus {
    border-color: #4c51bf;
    box-shadow: 0 0 0 3px rgba(76, 81, 191, 0.2);
    outline: none;
}

/* File input styling - limited but consistent */
.register-form input[type="file"] {
    padding: 10px;
    background-color: var(--bg-input-gray);
    color: var(--text-white);
}

/* Styling for the input fields */
.input-group {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group input {
    background-color: var(--bg-input-gray);
    color: var(--text-white);
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    border: 1px solid #333;
}

.input-group input:focus {
    border-color: var(--bg-green);
    outline: none;
}

.input-group label {
    color: var(--white);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group i {
    font-size: 20px;
}


/* Styling for the login button */
.login-button {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-green);
    /* The specified button color */
    border: none;
    border-radius: 5px;
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

.login-button:hover {
    background-color: var(--bg-green-hover);
}

.stripe-button {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-blue);
    /* The specified button color */
    border: none;
    border-radius: 5px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

.stripe-button:hover {
    background-color: var(--primary-blue);
}

.error {
    display: block;
    color: var(--soft-red);
    font-size: 1rem;
    margin: 10px 0;
    text-align: left;
}

.register-link {
    color: var(--text-green);
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}


@media (max-width: 1024px) {
    .login-detail {
        flex-direction: column;
    }
    .login-image-column {
        width: 100%;
    }
    .login-details-column {
        width: 100%;
        border-radius: 10px;
    }
}
