.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
}
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}
.form-control-modern,
input[type="number"],
input[type="time"] {
    margin-bottom: 1rem;
    background: white !important;
    border: 1px solid #00cc96 !important;
    color: black !important;
    border-radius: 10px !important;
    padding: 0.75rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 8px rgba(0, 204, 150, 0.3) !important;
    font-size: 1rem !important;
}
.form-control-modern:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #00cc96 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 204, 150, 0.25) !important;
}
.btn-modern {
    transition: all 0.3s ease;
}
.btn-modern:hover {
    transform: translateY(-2px);
}
.stock-card {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.pulse-animation {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.main-container {
    padding: 2rem;
}
.main-title {
    color: #00cc96;
    margin-bottom: 0.5rem;
}
.main-subtitle {
    color: #e0e0e0;
}
.section-title {
    color: #ffa15a;
    margin-bottom: 1rem;
}
.card-title {
    color: #4facfe;
}
.card-subtitle {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}
.card-description {
    color: #a0a0a0;
    font-size: 0.9rem;
}
.enhanced-task-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dropdown styles */
.Select-control,
.Select-menu-outer {
    background-color: white !important;
    color: black !important;
    border-radius: 10px !important;
    border: 1px solid #00cc96 !important;
}
.Select-value-label {
    color: black !important;
}

/* Date picker styles */
.DateRangePickerInput {
    background-color: white !important;
    color: black !important;
    border: none !important;
    border-radius: 10px !important;
    min-width: 300px !important;
    width: 300px !important;
    padding: 0.6rem !important;
}
.DateInput_input,
.DateInput_input__focused {
    background-color: white !important;
    color: black !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
    min-width: 140px !important;
    width: 140px !important;
}
.DatePickerInput_input {
    border-radius: 10px !important;
    background-color: white !important;
    color: black !important;
}
.DateRangePickerInput_arrow {
    color: #00cc96 !important;
}
.CalendarDay__selected,
.CalendarDay__selected:active,
.CalendarDay__selected:hover {
    background: #00cc96 !important;
    color: #000 !important;
    border-radius: 50% !important;
}
.CalendarDay__selected_span {
    border-radius: 0 !important;
}

/* Collapsible section buttons */
.collapse-toggle {
    width: 100%;
    text-align: left;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
}

/* ---- Paper Trading: Responsive Table Styles ---- */
.responsive-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background-color: #1f2937;
    margin: 20px 0;
}

.table-header {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px 100px 100px 100px 140px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 2px solid #3b82f6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-header-cell {
    padding: 16px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #f3f4f6;
    text-align: left;
    display: flex;
    align-items: center;
    min-height: 20px;
}

.table-body {
    max-height: 600px;
    overflow-y: auto;
}

.stock-table-row {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px 100px 100px 100px 140px;
    border-bottom: 1px solid #374151;
    transition: all 0.2s ease;
}

.stock-table-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .table-header, .stock-table-row {
        grid-template-columns: 80px 1fr 100px 90px 90px 90px 80px 120px;
    }
    .table-header-cell {
        padding: 12px 8px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .table-header, .stock-table-row {
        grid-template-columns: 70px 1fr 80px 80px 80px 80px 70px 110px;
    }
    .table-header-cell {
        padding: 10px 6px;
        font-size: 11px;
    }
    .stock-table-row td {
        padding: 12px 8px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .responsive-table {
        margin: 10px 0;
    }
    .table-header, .stock-table-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .table-header-cell {
        display: none;
    }
    .stock-table-row {
        background-color: #2d3748;
        margin-bottom: 8px;
        border-radius: 8px;
        padding: 12px;
    }
    .stock-table-row td {
        padding: 4px 0 !important;
        border-bottom: 1px solid #4a5568;
    }
    .stock-table-row td:before {
        content: attr(data-label);
        font-weight: bold;
        color: #a0aec0;
        display: block;
        margin-bottom: 4px;
    }
}

/* Button hover effects */
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Enhanced card styling */
.card {
    border-radius: 12px;
    border: 1px solid #374151;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Status badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.status-active {
    background-color: #10b981;
    color: white;
}
.status-paused {
    background-color: #f59e0b;
    color: white;
}
.status-error {
    background-color: #ef4444;
    color: white;
}

/* Improved empty state styling */
.empty-state-container {
    background-color: #1f2937;
    border-radius: 12px;
    border: 2px dashed #374151;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}
.empty-state-content {
    text-align: center;
    padding: 80px 20px;
}
.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #6b7280;
    opacity: 0.6;
}
.empty-state-title {
    color: #9ca3af;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 500;
}
.empty-state-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto 16px auto;
}
.empty-state-button {
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}
.empty-state-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Pagination buttons (shared) */
.pagination-controls {
    margin-top: 20px;
    text-align: center;
}
.pagination-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 8px 16px;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}