/* main-character-detector.css */

body {
    font-family: 'Arial', sans-serif;
}

main {
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.app-container {
    background: linear-gradient(65deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: 3px solid #f39c12;
}

.app-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.app-subtitle {
    color: #e74c3c;
}

.app-description {
    color: #2c3e50;
    line-height: 1.7;
}

.app-content {
    padding: 1px;
}

.input-section label {
    color: #2c3e50;
}

testarea {
    border: 3px solid #ddd;
    background: #fafafa;
}

.story-input:focus {
    outline: none;
    border-color: #f39c12;
    background: white;
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.2);
}

.story-input::placeholder {
    color: #bdc3c7;
    font-style: italic;
}

.assess-btn {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.assess-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.assess-btn:active {
    transform: translateY(0);
}

.assess-btn:disabled {
    background: #56ace5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Results */
.results {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    border-radius: 15px;
    border-left: 5px solid #e74c3c;
    display: none;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.syndrome-level {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.syndrome-description {
    font-size: 1.1rem;
    color: #34495e;
    text-align: center;
    line-height: 1.7;
}

.clear-btn {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: #7f8c8d;
    transform: translateY(-1px);
}

/* Mobile styles (480px and below) */
@media screen and (max-width: 480px) {
    textarea {
        height: 140px; /* required for lengthy input */
    }

    .assess-btn:disabled {
        padding: 1rem;
        font-size: 14px;
    }
}