﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


/* Customer specific styles */
.customer-card {
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

    .customer-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .customer-card .card-header {
        background-color: #f8f9fa;
        border-bottom: 1px solid #dee2e6;
    }

.customer-info p {
    margin-bottom: 8px;
}

/* Status badges */
.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-info {
    background-color: #17a2b8 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Required field indicator */
.control-label.required:after {
    content: " *";
    color: #dc3545;
}

/* Table enhancements */
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

/* Action buttons */
.btn-group .btn {
    margin-right: 2px;
}

    .btn-group .btn:last-child {
        margin-right: 0;
    }

/* Card enhancements */
.card-header h3.card-title {
    margin: 0;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-group {
        display: flex;
        flex-wrap: wrap;
    }

        .btn-group .btn {
            flex: 1;
            margin-bottom: 5px;
        }
}

/* Print styles for receipts */
@media print {
    .no-print {
        display: none !important;
    }

    .card {
        border: none !important;
        box-shadow: none !important;
    }
}