@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
    --magazine-blue: #0066b3;
    --magazine-orange: #ff6b00;
    --magazine-yellow: #ffcc00;
    --magazine-purple: #9933cc;
    background-color: #f0f8ff;
}
:root {
    --primary: var(--magazine-blue);
    --primary-hover: #005999;
    --secondary: var(--magazine-orange);
    --accent1: var(--magazine-yellow);
    --accent2: var(--magazine-purple);
}
#signatureCanvas {
    background-color: #f0f8ff;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    cursor: crosshair;
}
.contract-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 2rem;
}

.contract-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.contract-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
    text-transform: uppercase;
}
.legal-block {
    background-color: #e6f0ff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    border-left: 4px solid var(--primary);
    font-size: 0.9rem;
}
.terms-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.signature-placeholder {
    width: 80%;
    margin-top: 0.5rem;
}

@media print {
    .contract-section {
        page-break-inside: avoid;
    }
}
.signature-container {
    position: relative;
    width: 100%;
    height: 200px;
}

.contract-item {
    transition: background-color 0.2s;
}
.contract-item:hover {
    background-color: #e6f0ff;
}
.border-green-500 {
    border-color: #10b981 !important;
}

.border-red-500 {
    border-color: #ef4444 !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}
@media (max-width: 768px) {
    .signature-container {
        height: 150px;
    }
    
    #searchForm {
        grid-template-columns: 1fr;
    }
}
