/* Custom styles for Coindb.dk */
body {
    background-color: #f8f9fa;
}

/* Smart area selection styling */
.area-selection-container {
    margin: 1rem 0;
    padding: 1rem !important;
}

.area-selection-container .input-group {
    margin-bottom: 1rem;
}

.area-selection-container .btn-group {
    margin-bottom: 0.5rem;
}

.area-selection-container .table {
    margin-bottom: 0;
}

.area-selection-container .table th,
.area-selection-container .table td {
    vertical-align: middle;
    padding: 0.75rem 1rem;
}

.area-selection-container .table th:first-child,
.area-selection-container .table td:first-child {
    padding-left: 1rem !important;
    width: 50px;
}

.area-selection-container .table th:last-child,
.area-selection-container .table td:last-child {
    padding-right: 1rem !important;
    text-align: center;
}

#areasTableContainer {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1rem;
    border: 1px solid #dee2e6 !important;
}

#areasTable thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    background-color: #f8f9fa !important;
}

.area-row:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.area-checkbox {
    transform: scale(1.1);
}

/* Fix specific margin issues */
.area-selection-container .mb-3 {
    margin-bottom: 1rem !important;
}

.area-selection-container .mt-2 {
    margin-top: 0.5rem !important;
}

/* Ensure proper spacing around container */
.area-selection-container + button {
    margin-top: 1rem;
}

/* Responsive margin adjustments */
@media (max-width: 768px) {
    .area-selection-container {
        margin: 0.5rem 0;
        padding: 0.75rem !important;
    }
    
    .area-selection-container .table th,
    .area-selection-container .table td {
        padding: 0.5rem 0.75rem;
    }
}

/* Fix any bootstrap conflicts */
.area-selection-container .table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
