/* Custom styles for Contract Signing Platform */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar customization */
.navbar-brand {
    font-weight: 600;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* Buttons */
.btn {
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Status badges */
.badge {
    padding: 0.375rem 0.75rem;
    font-weight: 500;
}

/* Tables */
.table th {
    font-weight: 600;
    color: #495057;
    border-bottom-width: 1px;
}

/* Forms */
.form-label {
    font-weight: 500;
    color: #495057;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Progress bars */
.progress {
    height: 1.25rem;
    font-size: 0.875rem;
}

/* Signature specific styles */
.signature-placeholder {
    transition: all 0.3s;
}

.signature-placeholder:hover {
    transform: scale(1.05);
}

/* Loading overlay */
.loading-overlay {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Print styles */
@media print {
    .navbar, .btn, .card-footer {
        display: none !important;
    }
}