.divisors-calculator-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.divisors-calculator {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.divisors-calculator-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.divisors-calculator-description {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 25px;
}

.divisors-input-group {
    /*display: flex;*/
    flex-direction: column;
    margin-bottom: 20px;
}

.divisors-input-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

#divisors-number-input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

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

.divisors-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.divisors-button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.divisors-calculate {
    background-color: #3498db;
    color: white;
}

.divisors-calculate:hover {
    background-color: #2980b9;
}

.divisors-clear {
    background-color: #e74c3c;
    color: white;
}

.divisors-clear:hover {
    background-color: #c0392b;
}

.divisors-error {
    color: #e74c3c;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    background-color: #fadbd8;
    border-radius: 5px;
    margin-bottom: 20px;
}

.divisors-results {
    margin-top: 40px;
}

.divisors-results-title {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.divisors-result-section {
    margin-bottom: 20px;
}

.divisors-result-section h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.divisors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.divisor {
    padding: 8px 15px;
    background-color: #e9ecef;
    border-radius: 20px;
    font-weight: 500;
}

.divisor.prime {
    background-color: #ff6b6b;
    color: white;
    font-weight: 700;
}

.divisors-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.divisors-stat {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.divisors-stat-label {
    display: block;
    font-weight: 600;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.divisors-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
}

@media (max-width: 600px) {
    .divisors-buttons {
        flex-direction: column;
    }
    
    .divisors-stats {
        grid-template-columns: 1fr;
    }
}