/* Modern Tailwind-inspired Site Stylesheet */

:root {
    --primary: #3b82f6; /* Blue-500 */
    --primary-hover: #2563eb; /* Blue-600 */
    --primary-light: rgba(59, 130, 246, 0.1);
    --secondary: #10b981; /* Emerald-500 */
    --accent: #f43f5e; /* Rose-500 */
    --dark: #1e293b; /* Slate-800 */
    --light: #f8fafc; /* Slate-50 */
    --gray-100: #f1f5f9; /* Slate-100 */
    --gray-200: #e2e8f0; /* Slate-200 */
    --gray-300: #cbd5e1; /* Slate-300 */
    --gray-400: #94a3b8; /* Slate-400 */
    --gray-500: #64748b; /* Slate-500 */
    --transition: all 0.15s ease;
}

/* Base styling */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.5;
    letter-spacing: -0.025em;
    transition: var(--transition);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

.container {
    max-width: 1200px;
    padding: 0 24px;
}

/* Card styling with clean Tailwind feel */
.card {
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    overflow: hidden;
    background-color: white;
    transition: var(--transition);
}

.card-header {
    background-color: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    border-bottom: none;
}

.card-body {
    padding: 1.75rem;
}

/* Catalog cover styling with clean look */
.catalog-cover {
    border: 1px solid var(--gray-200);
    padding: 0;
    margin-bottom: 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    overflow: hidden;
    position: relative;
}

.catalog-cover img {
    max-height: 380px;
    object-fit: contain;
    z-index: 2;
}

/* Form styling with refined look */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    transition: var(--transition);
    font-size: 1rem;
    background-color: white;
}

.form-control:focus {
    border-color: var(--primary);
    outline: 2px solid var(--primary-light);
    outline-offset: 0px;
}

.form-control::placeholder {
    color: var(--gray-400);
}

/* Button styling with clean look */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: var(--transition);
    position: relative;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* Success page styling with clean alert */
.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--secondary);
    color: #065f46;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Responsive adjustments for modern devices */
@media (max-width: 768px) {
    .col-md-4, .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .catalog-cover {
        margin-bottom: 1.5rem;
        height: 300px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Clean footer styling */
footer {
    background-color: var(--dark);
    color: #fff;
    padding: 2.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin-bottom: 1rem;
    opacity: 0.85;
}

footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}
