/**
 * Public Login/Registration Section Styles
 *
 * Styles for the login and registration section on public homepage
 *
 * @package     RalphWhite_B2B
 * @subpackage  Assets
 * @author      SiteGuiders
 * @copyright   Copyright (c) 2025, SiteGuiders
 * @link        https://siteguiders.com
 * @since       1.0.0
 */

/* ==========================================================================
   Public Auth Section
   ========================================================================== */

.homepage-public-auth {
    padding: 6rem 0 145px;
    background: var(--bg-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.auth-bottom-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 1;
    width: 100%;
    line-height: 0;
}

.auth-curve-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Auth Card
   ========================================================================== */

.auth-card {
    /* background: #ffffff; */
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(255 255 255 / 86%);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.auth-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.auth-card-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    /* background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%); */
}

.auth-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 0.5rem 0;
}

.auth-card-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary, #666);
    margin: 0;
}

.auth-card-body {
    padding: 2rem;
    flex: 1;
}
.homepage-public-auth .form-label,
.homepage-public-auth .auth-card-subtitle,
.homepage-public-auth .auth-card-title,
.homepage-public-auth .form-check-label,
.homepage-public-auth .auth-feature-item{
    color: var(--bg-primary);
}
/* ==========================================================================
   Auth Form
   ========================================================================== */

.auth-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background: #ffffff;
    color: var(--text-primary, #1a1a1a);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-orange, #f58220);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--color-accent-orange, #f58220);
}

.form-check-label {
    font-size: 0.9375rem;
    color: var(--text-secondary, #666);
    cursor: pointer;
    margin: 0;
}

.btn-auth-submit,
.btn-auth-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-auth-submit {
    background: var(--color-accent-orange, #f58220);
    color: #ffffff;
    border-color: var(--color-accent-orange, #f58220);
}

.btn-auth-submit:hover {
    background: var(--color-accent-orange-dark, #e06d0d);
    border-color: var(--color-accent-orange-dark, #e06d0d);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(245, 130, 32, 0.3);
}

.btn-auth-register {
    background: transparent;
    color: var(--color-accent-orange, #f58220);
    border-color: var(--color-accent-orange, #f58220);
}

.btn-auth-register:hover {
    background: var(--color-accent-orange, #f58220);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(245, 130, 32, 0.3);
}

.btn-auth-submit svg,
.btn-auth-register svg {
    width: 20px;
    height: 20px;
}

.auth-form-footer {
    margin-top: 1rem;
    text-align: center;
}

.auth-link {
    font-size: 0.875rem;
    color: var(--color-accent-orange, #f58220);
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--color-accent-orange-dark, #e06d0d);
    text-decoration: underline;
}

/* ==========================================================================
   Auth Features (Registration Card)
   ========================================================================== */

.auth-features {
    margin-bottom: 2rem;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    color: var(--text-secondary, #666);
}

.auth-feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent-orange, #f58220);
    flex-shrink: 0;
}

.auth-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary, #666);
    text-align: center;
    line-height: 1.6;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border-left: 3px solid var(--color-accent-orange, #f58220);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .homepage-public-auth {
        padding: 3rem 0;
    }

    .auth-card-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .auth-card-body {
        padding: 1.5rem;
    }

    .auth-card-title {
        font-size: 1.25rem;
    }

    .auth-feature-item {
        font-size: 0.875rem;
    }
}

