/* General Calculator Container Styling */
.google-container {
    width: 100%;
    margin: 0 auto;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
}

.google-table {
    width: 100%;
    border-collapse: collapse;
}

.google-table td {
    padding: 5px;
}

.gc-text {
    width: 100%;
    padding: 10px;
    font-size: 1.5em;
    text-align: right;
    border: 2px solid #ccc;
    border-radius: 5px;
}

/* Button Styling */
.google-table input[type="button"] {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.google-table input[type="button"]:hover {
    background-color: #d0d0d0;
}

/* Equal Button Styling */
#btnEqual {
    background-color: #007bff;
    /* Set to a blue color */
    color: white;
    font-weight: bold;
    border: 1px solid #007bff;
}

#btnEqual:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
    border-color: #0056b3;
}

/* Responsive Styling for Small Screens */
@media (max-width: 600px) {
    .gc-text {
        font-size: 1.2em;
        padding: 8px;
    }

    .google-table input[type="button"] {
        font-size: 0.9em;
        padding: 8px;
    }
}

@media (max-width: 400px) {
    .gc-text {
        font-size: 1em;
        padding: 6px;
    }

    .google-table input[type="button"] {
        font-size: 0.8em;
        padding: 6px;
    }

    .google-container {
        padding: 5px;
    }
}


#the-results ul {
    height: 300px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0px 0px 64px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0px 0px 64px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0px 0px 64px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

#the-results ul li {
    font-size: 0.8em;
    width: 100%;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 40px;
    line-height: 40px;
}

#the-results ul li#result_default {
    /*padding-left: 24px;*/
    text-align: center;
    color: #ff8a8a;
    font-weight: 200;
}

#the-results ul li.result {
    display: none;
    font-size: 0.8em;
    color: #5A6267;
    background: rgba(255, 255, 255, 0.05);
    zoom: 1;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#the-results ul li.result:before,
#the-results ul li.result:after {
    content: "";
    display: table;
}

#the-results ul li.result:after {
    clear: both;
}

#the-results ul li.result:before,
#the-results ul li.result:after {
    content: "";
    display: table;
}

#the-results ul li.result:after {
    clear: both;
}

#the-results ul li.result:nth-child(even) {
    background: rgba(255, 255, 255, 0.15);
}

#the-results ul li.result:nth-child(even) .answer {
    background: #DDA853;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #DDA853), color-stop(1, #DDA853));
    background: -ms-linear-gradient(bottom, #DDA853, #DDA853);
    background: -moz-linear-gradient(center bottom, #DDA853 0%, #DDA853 100%);
    background: -o-linear-gradient(#DDA853, #DDA853);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DDA853', endColorstr='#DDA853', GradientType=0);
}

#the-results ul li.result .equation,
#the-results ul li.result .answer {
    display: inline-block;
    padding: 0px 12px;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 60px;
    line-height: 40px;
}

#the-results ul li.result .equation {
    float: left;
    height: 100%;
    font-style: italic;
}

#the-results ul li.result .answer {
    position: absolute;
    right: 52px;
    top: 0;
    height: 100%;
    background: #DDA853;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #DDA853), color-stop(1, #DDA853));
    background: -ms-linear-gradient(bottom, #DDA853, #DDA853);
    background: -moz-linear-gradient(center bottom, #DDA853 0%, #DDA853 100%);
    background: -o-linear-gradient(#DDA853, #DDA853);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DDA853', endColorstr='#DDA853', GradientType=0);
}

#the-results ul li.result .use {
    height: 100%;
}

#the-results ul li.result .use a {
    background: #94B4C1;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #94B4C1), color-stop(1, #94B4C1));
    background: -ms-linear-gradient(bottom, #94B4C1, #94B4C1);
    background: -moz-linear-gradient(center bottom, #94B4C1 0%, #94B4C1 100%);
    background: -o-linear-gradient(#94B4C1, #94B4C1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#94B4C1', endColorstr='#94B4C1', GradientType=0);
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: block;
    padding: 0px 8px;
    width: 52px;
    text-align: center;
    text-decoration: none;
    margin: 0;
    font-size: 0.9em;
    cursor: pointer;
    border: none;
    color: #f9f9f9;
    text-shadow: -1px -1px rgba(0, 0, 0, 0.2);
}

#the-results ul li.result .use a:hover,
#the-results ul li.result .use aactive {
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    -webkit-opacity: 0.7;
    opacity: 0.7;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
    filter: alpha(opacity=70);
}