.abstract-noun-generator {
    max-width: 800px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.parent-container {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.parent-container h3 {
    color: #352d3d;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.result-label {
    display: block;
    color: #352d3d;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    color: #352d3d;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #ff4c60;
    background: #fff;
}

#randomnouns {
    min-height: 120px;
    max-height: 500px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.controls label {
    color: #352d3d;
    font-size: 16px;
    font-weight: 600;
}

.controls input[type="number"] {
    max-width: 200px;
}

.btn {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-success {
    background: #ff4c60;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 76, 96, 0.3);
}

.btn-success:hover {
    background: #e63950;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 76, 96, 0.4);
}

.btn-success:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .parent-container {
        padding: 30px 20px;
    }

    .parent-container h3 {
        font-size: 24px;
    }

    .form-control {
        font-size: 14px;
        padding: 12px;
    }

    .controls input[type="number"] {
        max-width: 100%;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}
