/* General Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Stock Card Styles */
.stock-card {
    transition: transform 0.2s;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.stock-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Chart Container */
.chart-container {
    width: 100%;
    height: 400px;
    margin: 20px 0;
}

/* Price Changes */
.price-up {
    color: #28a745;
}

.price-down {
    color: #dc3545;
}

/* Subscription Plans */
.plan-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.plan-card:hover {
    transform: scale(1.02);
}

.plan-card.premium {
    border-color: #ffd700;
}

.plan-card.basic {
    border-color: #17a2b8;
}

.plan-card.free {
    border-color: #6c757d;
}

/* Watchlist */
.watchlist-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.watchlist-item:last-child {
    border-bottom: none;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25em solid #f3f3f3;
    border-top: 0.25em solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .chart-container {
        height: 300px;
    }
    
    .plan-card {
        margin: 10px 0;
    }
} 