/* 
 * Styles pour l'application de signature de bail
 * My Invest Immobilier
 */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.logo {
    max-width: 200px;
    height: auto;
}

.signature-container {
    border: 2px solid #dee2e6;
    border-radius: 5px;
    background-color: #ffffff;
    display: inline-block;
    cursor: crosshair;
}

#signatureCanvas {
    display: block;
    max-width: 100%;
    height: auto;
    touch-action: none;
}

.card {
    border-radius: 10px;
}

.card.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.progress {
    border-radius: 10px;
    overflow: hidden;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 18px;
}

.alert {
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    #signatureCanvas {
        width: 100% !important;
        height: 200px !important;
    }
    
    .signature-container {
        width: 100%;
    }
}

/* Table styles */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.badge {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Form styles */
.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Custom colors for MY Invest Immobilier */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.text-success {
    color: #198754 !important;
}

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

/* Progress bar */
.progress-bar {
    font-weight: 600;
    font-size: 14px;
}

/* Card animations */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
}
