/* Zara-inspired custom styles for fabric sample ordering system */

/* Import Zara-style fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Helvetica:wght@300;400;500;600&display=swap');

/* Global overrides for clean white background */
* {
    box-sizing: border-box;
}

html, body {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Typography - Zara style */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Playfair Display', 'Times New Roman', serif !important;
    font-weight: 600;
    color: #000000 !important;
    letter-spacing: -0.5px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

/* Navigation - Clean white */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

.nav-link {
    color: #000000 !important;
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #666666 !important;
}

/* Cards - Clean white with subtle borders */
.card {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    margin-bottom: 2rem;
}

.card-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 1.5rem;
}

.card-body {
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 1.5rem;
}

.card-title {
    color: #000000 !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* Forms - Minimal Zara style */
.form-label {
    color: #000000 !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.form-control {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #cccccc !important;
    border-radius: 0px !important;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: none !important;
    outline: none;
}

.form-control::placeholder {
    color: #999999 !important;
    font-style: italic;
}

/* Buttons - Clean Zara style */
.btn {
    border-radius: 0px !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

.btn-secondary {
    background-color: #ffffff !important;
    border-color: #000000 !important;
    color: #000000 !important;
}

.btn-secondary:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.btn-outline-secondary {
    background-color: transparent !important;
    border-color: #cccccc !important;
    color: #000000 !important;
}

.btn-outline-secondary:hover {
    background-color: #f5f5f5 !important;
    border-color: #000000 !important;
    color: #000000 !important;
}

/* Tables - Clean and minimal */
.table {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-collapse: collapse;
}

.table th {
    background-color: #f8f8f8 !important;
    color: #000000 !important;
    border-color: #e0e0e0 !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
}

.table td {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #e0e0e0 !important;
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: #fafafa !important;
}

.table-hover tbody tr:hover td {
    background-color: #f0f0f0 !important;
}

/* Status badges - Minimal design */
.badge {
    border-radius: 0px !important;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-secondary {
    background-color: #e0e0e0 !important;
    color: #000000 !important;
}

.bg-warning {
    background-color: #fff3cd !important;
    color: #000000 !important;
}

.bg-success {
    background-color: #d4edda !important;
    color: #000000 !important;
}

/* Alerts - Clean styling */
.alert {
    background-color: #f8f9fa !important;
    color: #000000 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 0px !important;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #155724 !important;
}

.alert-danger {
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
}

/* Footer - Clean white */
footer {
    background-color: #ffffff !important;
    color: #666666 !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    color: #666666 !important;
    font-size: 0.9rem;
}

/* Description lists */
dt {
    color: #000000 !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

dd {
    color: #000000 !important;
    margin-bottom: 1rem;
}

/* Links */
a {
    color: #000000 !important;
    text-decoration: none;
}

a:hover {
    color: #666666 !important;
    text-decoration: underline;
}

/* Success modal styling */
.modal-content {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 0px !important;
}

.modal-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.modal-body {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.modal-footer {
    background-color: #ffffff !important;
    border-top: 1px solid #e0e0e0 !important;
}

.modal-title {
    color: #000000 !important;
    font-family: 'Playfair Display', serif !important;
}

/* Dropdown menus */
.dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 0px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #000000 !important;
    padding: 0.75rem 1rem;
}

.dropdown-item:hover {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
}

/* Form validation */
.invalid-feedback {
    color: #dc3545 !important;
    font-size: 0.875rem;
}

.is-invalid {
    border-color: #dc3545 !important;
}

/* Required field asterisk */
.text-danger {
    color: #dc3545 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-header, .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Container spacing */
.container {
    max-width: 1200px;
}

/* Spacing improvements */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.py-4 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

/* Text colors override */
.text-muted {
    color: #666666 !important;
}

.text-secondary {
    color: #666666 !important;
}

/* Icon colors */
.fas, .far {
    color: inherit;
}