* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 450px;
    text-align: center;
}

h1 {
    color: #34495e;
    margin-bottom: 5px;
}

p {
    color: #7f8c8d;
    margin-bottom: 25px;
}

.input-area {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

#input-number {
    flex-grow: 1;
    padding: 12px 15px;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    transition: border-color 0.3s;
}

#input-number:focus {
    border-color: #3498db;
    outline: none;
}

#generate-button {
    padding: 12px 20px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s;
}

#generate-button:hover {
    background-color: #27ae60;
}

.result-container {
    text-align: left;
    border-top: 2px dashed #ecf0f1;
    padding-top: 20px;
}

#table-title {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
}

#multiplication-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#multiplication-list li {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

.placeholder {
    color: #95a5a6;
    text-align: center;
    justify-content: center;
}

.result-value {
    font-weight: 700;
    color: #e74c3c;
}

/* Responsividade */
@media (max-width: 400px) {
    .input-area {
        flex-direction: column;
    }
    #generate-button {
        width: 100%;
    }
}