
.container {
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

h1 {
    color: #667eea;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5em;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95em;
}

.result-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 30px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 600;
    word-break: break-all;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.result-box.empty {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
}

.options {
    margin-bottom: 25px;
}

.option-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95em;
}

input[type="text"] {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9em;
}

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

button {
    flex: 1;
    min-width: 140px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-generate {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

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

.btn-copy {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-copy:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-copy.copied {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

@media (max-width: 600px) {
    .container {
        padding: 25px;
    }

    h1 {
        font-size: 2em;
    }

    .result-box {
        font-size: 1.4em;
        padding: 20px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .buttons {
        flex-direction: column;
    }

    button {
        min-width: 100%;
    }
}

.history {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
}

.history-title {
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.history-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.history-item {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-item:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}