/* Navigation Links Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
}

@media (min-width: 769px) {
    .nav-mobile {
        display: none;
    }
}

/* Text Input Styles */
@media (max-width: 480px) {
    :deep(.custom-text-input .mud-input) {
        font-size: 0.9rem !important;
        padding: 0.6875rem 0.875rem !important;
    }
    
    :deep(.custom-text-input .mud-input-adornment-start) {
        padding-left: 0.875rem !important;
    }
}

/* Brand Logo Styles */
@media (max-width: 768px) {
    .brand-logo h1 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .brand-logo h1 {
        font-size: 1.1rem;
    }
}

/* Form Field Styles */
.form-field {
    margin-bottom: 0.375rem;
}

.form-field-label {
    font-size: 0.8rem;
    margin-bottom: 0.0625rem;
    line-height: 1.0;
}

/* Form Row Styles */
.row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0;
}

/* Adjust FormField margin when inside FormRow */
.row .form-field {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .form-field {
        margin-bottom: 0.75rem;
    }
    
    /* Ensure FormFields in rows have proper spacing on mobile */
    .row .form-field {
        margin-bottom: 0.75rem;
    }
    
    .form-field-label {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
        line-height: 1.2;
    }
}

/* Two Column Layout Bootstrap Styles */
.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

@media (max-width: 1279px) {
    .container-fluid .row .col-lg-6:first-child {
        order: 2;
        min-height: 200px;
    }
    
    .container-fluid .row .col-lg-6:last-child {
        order: 1;
    }
}

@media (min-width: 1280px) {
    .container-fluid .row .col-lg-6:last-child {
        overflow: hidden;
    }
}

/* Primary Button Styles */
@media (max-width: 480px) {
    .primary-button {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Button Styles */
.btn-secondary-custom {
    background-color: white;
    color: black;
    border: 1px solid #dee2e6;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.btn-secondary-custom:hover {
    background-color: #f8f9fa;
    color: black;
    border-color: #adb5bd;
}

.btn-secondary-custom:focus,
.btn-secondary-custom.focus {
    background-color: #f8f9fa;
    color: black;
    border-color: #adb5bd;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.btn-secondary-custom:active,
.btn-secondary-custom.active {
    background-color: #e9ecef;
    color: black;
    border-color: #adb5bd;
}

.btn-secondary-custom:disabled,
.btn-secondary-custom.disabled {
    background-color: white;
    color: #6c757d;
    border-color: #dee2e6;
    opacity: 0.65;
}

/* Button size specific padding */
.btn-secondary-custom.btn-sm {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.btn-secondary-custom.btn-lg {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Customer Registration Page Styles */
.customer-registration-page {
    height: calc(100vh - 60px);
    overflow: hidden;
}

@media (max-width: 768px) {
    .customer-registration-page {
        margin-top: 56px;
        height: calc(100vh - 56px);
    }
}

/* Keyframe Animations */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Illustration Panel Styles */
.illustration-panel {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.illustration-panel__content {
    text-align: center;
    color: #000000;
    z-index: 2;
}

.illustration-panel__content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.illustration-panel__content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .illustration-panel .illustration-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 2;
        padding: 2rem;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 12px;
        backdrop-filter: blur(8px);
    }
}

@media (max-width: 768px) {
    .illustration-panel {
        min-height: 200px;
    }
    
    .illustration-panel .illustration-content {
        padding: 1.5rem;
    }
}

/* Responsive adjustments for Bootstrap navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
}

/* Mobile responsive styles for form elements */
@media (max-width: 480px) {
    .custom-text-input .form-control,
    .custom-select-input .form-select {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
}

/* TextInput Component Styles */
.custom-text-input .form-control {
    font-size: 0.9rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.custom-text-input .form-control:hover {
    border-color: #d1d5db;
}

.custom-text-input .form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.custom-text-input .input-group-text {
    background-color: #f9fafb;
    border: 1.5px solid #e5e7eb;
    color: #6b7280;
}

/* SelectInput Component Styles */
.custom-select-input .form-select {
    font-size: 0.9rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.custom-select-input .form-select:hover {
    border-color: #d1d5db;
}

.custom-select-input .form-select:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.custom-select-input .input-group-text {
    background-color: #f9fafb;
    border: 1.5px solid #e5e7eb;
    color: #6b7280;
}

/* Button Styles */
.btn-dark {
    background-color: #000000;
    border-color: #000000;
}

.btn-dark:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn-dark:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}