/* Multi-Tenant Labour Management System Styles */
.login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    display: flex;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-body {
    padding: 1.5rem;
}

.table th {
    border-top: none;
    font-weight: 600;
}

.btn {
    border-radius: 6px;
}

.navbar-brand {
    font-weight: 600;
}

/* Factory-specific styling */
.factory-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.tenant-info {
    background: linear-gradient(45deg, #6c757d, #adb5bd);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .navbar-text {
        font-size: 0.8rem;
    }
}

/* Custom colors */
.bg-primary {
    background-color: #2c3e50 !important;
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Work entry table styles */
#workTable input[type="number"] {
    min-width: 100px;
}

#workTable select {
    min-width: 120px;
}

.present {
    transform: scale(1.2);
}

.history-card {
    margin-bottom: 20px;
}

.balance-positive {
    color: #28a745;
    font-weight: bold;
}

.balance-negative {
    color: #dc3545;
    font-weight: bold;
}

/* Print styles for factory reports */
@media print {
    .no-print {
        display: none !important;
    }
    
    .tenant-info {
        background: #f8f9fa !important;
        color: #000 !important;
        border: 1px solid #dee2e6;
    }
}

/* Factory registration form styling */
.registration-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    border-left: 4px solid #3498db;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.form-section h5 {
    color: #3498db;
    margin-bottom: 1rem;
}
