.decimal-to-fraction-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    margin: 20px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	*/
    color: #333;
    box-sizing: border-box;
}


.decimal-fraction-table {
    width: 70%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.decimal-fraction-table th, 
.decimal-fraction-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;

}

.decimal-fraction-table th {
    background-color: #EEE;
    
    font-weight: 600;
    font-size: 15px;
}

.decimal-fraction-table td {
    /*background-color: #f9f9f9;*/
}

.decimal-fraction-table input[type="text"] {
    width: 150px;
    padding: 5px;
    border: 1px solid #DDD;
    border-radius: 3px;
    font-size: 16px;
    text-align: center;
    transition: border-color 0.3s;
}

.decimal-fraction-table input[type="text"]:focus {
    border-color: #2980b9;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.decimal-fraction-table .resultdec {
    font-weight: bold;
    font-size: 18px;
    color: #2c3e50;
    min-height: 24px;
}

.decimal-fraction-button-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.decimal-fraction-button-table td {
    border: none;
    background-color: transparent !important;
    text-align: center;
    padding: 0;
}

#convertButton {
    display: block;
    margin: 0 auto;
    padding: 12px 30px;
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#convertButton:hover {
    background: linear-gradient(to right, #2980b9, #2573a7);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#convertButton:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.decimal-examples {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.decimal-example {
    text-align: center;
    padding: 10px;
    background-color: #f1f8ff;
    border-radius: 5px;
    width: 23%;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.decimal-example:hover {
    background-color: #e1f0ff;
}

.decimal-instructions {
    margin-top: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

.decimal-instructions h3 {
    margin-top: 0;
    color: #2c3e50;
}

.decimal-instructions ul {
    padding-left: 20px;
    margin-bottom: 0;
}

/* Non-responsive design - fixed width */
@media (max-width: 820px) {
    .decimal-to-fraction-container {
        width: 800px !important;
        overflow-x: auto;
    }
}