/* Common Layout Styles */
.dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.top-row {
    display: flex;
    gap: 20px;
}

/* Form Card Styles */
.form-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 375px;
}

.form-card h5 {
    color: #2f2e41;
    margin-bottom: 20px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2f2e41;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #6C5DD3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 93, 211, 0.1);
}

.form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

.form-select:focus {
    border-color: #6C5DD3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 93, 211, 0.1);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: #6C5DD3;
    color: #fff;
}

.btn-primary:hover {
    background-color: #5a4dba;
}

.btn i {
    margin-right: 8px;
}

/* Card Styles */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-body {
    padding: 20px;
}

.card-title {
    color: #2f2e41;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Visualization Card */
.visualization-card {
    flex-grow: 1;
    min-height: 515px;
}

/* Table Styles */
.table-container {
    margin-top: 20px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #2f2e41;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

/* Spinner */
.spinner {
    display: none;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top: 3px solid #6C5DD3;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-break { word-break: break-all; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.w-100 { width: 100%; } 