/* Random Word Speaker Styles */

.speaker-container {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
}

.speaker-status {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background: #f0f8ff;
    border: 2px solid #4a90e2;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.status-text {
    line-height: 1.6;
}

#currentWord {
    color: #336699;
    font-size: 1.8em;
    font-weight: 700;
    display: inline-block;
    padding: 5px 15px;
    background: #fff;
    border-radius: 8px;
    margin: 0 5px;
    min-width: 100px;
}

.btn-generate, .btn-blue, .btn-success, .btn-danger {
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    transition: all 0.2s;
    font-weight: 600;
}

.btn-generate {
    background: #336699;
    color: white;
}

.btn-generate:hover {
    background: #2a5580;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(51, 102, 153, 0.3);
}

.btn-blue {
    background: #4a90e2;
    color: white;
}

.btn-blue:hover {
    background: #357abd;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-generate:disabled,
.btn-blue:disabled,
.btn-success:disabled,
.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.generator-card:hover {
    border-color: #336699 !important;
    box-shadow: 0 4px 12px rgba(51, 102, 153, 0.2);
    transform: translateY(-2px);
}

textarea#wordInput {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: vertical;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.spaced li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .speaker-container {
        padding: 15px;
    }

    .btn-generate, .btn-blue, .btn-success, .btn-danger {
        padding: 10px 20px;
        font-size: 14px;
        margin: 5px 3px;
    }

    #currentWord {
        font-size: 1.4em;
    }

    .speaker-status {
        padding: 20px;
    }
}
