/**
 * Auth Layout Styles
 * For login, registration and other auth pages
 */

/* Form inputs - white background, no border radius */
.form-input {
    background-color: #fff !important;
    border-radius: 0 !important;
    border: 1px solid #d1d5db !important;
    font-size: 14px;
    padding: 10px 14px;
}

.form-input:focus {
    outline: none !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
    --tw-ring-offset-shadow: none !important;
    --tw-ring-shadow: none !important;
    --tw-ring-color: transparent !important;
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Custom checkbox styling */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #d1d5db;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    margin: 0;
    display: grid;
    place-content: center;
    border-radius: 0;
}

input[type="checkbox"]:checked {
    background-color: #4AB771;
    border-color: #4AB771;
}

input[type="checkbox"]:checked::before {
    content: '✓';
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Button with RussianRail font */
.btn-primary,
button[type="submit"],
input[type="submit"] {
    font-family: 'RussianRail G Pro', sans-serif !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #4AB771;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 12px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #3E995E;
}

.btn-primary:disabled,
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form labels */
.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

/* Card styling */
.bg-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Header styling */
header.bg-white {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
}

/* Footer styling */
footer.bg-header {
    background-color: #1f2937;
}

/* Links */
a.text-primary {
    color: #4AB771;
}

a.text-primary:hover {
    color: #3E995E;
}

/* Destructive/error styling */
.text-destructive {
    color: #dc2626;
}

.border-destructive {
    border-color: #dc2626 !important;
}

.bg-destructive\/10 {
    background-color: rgba(220, 38, 38, 0.1);
}

.border-destructive\/20 {
    border-color: rgba(220, 38, 38, 0.2);
}

h1 {
    font-family: 'RussianRail G Pro', sans-serif;
    text-transform: uppercase;
}

/* Footer Styles */
.footer {
    background-color: #3a3f47;
    color: #fff;
    padding: 40px 0 20px;
    width: 100%;
}

.footer-top {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-family: 'RussianRail G Pro', sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-logo-section {
        align-items: center;
    }

    .footer-title {
        font-size: 16px;
    }
}
