/* Basic reset and typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #EDEDED;
    background-color: #3A3A36;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #3A3A36;
    padding: 40px;
    border: 1px solid #555;
}

.header-image {
    text-align: center;
    margin-bottom: 30px;
}

.keyboard-img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #555;
}

h1 {
    color: #EDEDED;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

p {
    text-align: center;
    color: #CCC;
    margin-bottom: 30px;
}

/* Instructions */
.instructions {
    text-align: left;
    margin-bottom: 30px;
}

.instructions h3 {
    color: #EDEDED;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.instructions p {
    color: #BBB;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
    margin-left: 0;
    text-align: left;
}

/* Controls */
.controls {
    text-align: center;
    margin-bottom: 30px;
}

.generate-btn {
    background-color: #4FA8B8;
    color: #000000;
    border: 1px solid #555;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
}

.generate-btn:disabled {
    background-color: #666;
    color: #999;
    cursor: not-allowed;
}

/* Progress indicators */
.progress-container {
    margin-top: 30px;
}

.progress-section {
    margin-bottom: 25px;
}

.progress-section h3 {
    margin-bottom: 10px;
    color: #EDEDED;
    font-size: 16px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #222;
    border: 1px solid #555;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background-color: #3F8F9E;
    width: 0%;
    transition: width 0.3s ease;
}

.status-text {
    font-size: 14px;
    color: #CCC;
    font-weight: 400;
}

/* Status containers */
.error-container {
    background-color: #2A1A1A;
    border: 1px solid #8B0000;
    color: #FFA0A0;
    padding: 20px;
    margin-top: 20px;
    font-weight: 400;
}

.success-container {
    background-color: #1A2A1A;
    border: 1px solid #008B00;
    color: #A0FFA0;
    padding: 20px;
    margin-top: 20px;
    font-weight: 400;
}

/* Hidden class */
.hidden {
    display: none;
}

/* Disclaimer footer */
.disclaimer {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 40px 0;
    text-align: center;
}

.disclaimer p {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    .keyboard-img {
        max-height: 100px;
    }

    .generate-btn {
        width: 100%;
        padding: 12px;
    }

    .disclaimer {
        margin-top: 30px;
        padding: 15px 20px 0;
    }

    .disclaimer p {
        font-size: 11px;
    }
}