/* Google Font */
body .countnow-container * {
    font-family: 'Inter', sans-serif;
}

/* Main Container */
.countnow-container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    box-sizing: border-box;
}

/* Header Styles */
.countnow-header {
    text-align: center;
    margin-bottom: 30px;
}

.countnow-header h1 {
    color: #1e293b;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
}

.countnow-header p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

/* Textarea Styles */
.countnow-input-container {
    margin-bottom: 30px;
}

.countnow-textarea {
    width: 100%;
    min-height: 250px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.countnow-textarea:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.1), 0 2px 4px -1px rgba(99, 102, 241, 0.06);
}

/* Stats Container */
.countnow-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Action Buttons */
.countnow-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.countnow-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reset-btn {
    background: #f1f5f9;
    color: #64748b;
}

.reset-btn:hover {
    background: #e2e8f0;
}

.copy-btn {
    background: #6366f1;
    color: white;
}

.copy-btn:hover {
    background: #4f46e5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countnow-container {
        padding: 25px;
        margin: 20px auto;
    }
    
    .countnow-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 26px;
    }
}
