/* ===========================================
    Shoe Size Conversion - Tool Specific Styles
    =========================================== */

/* Box Styling */
.shoe-box {
    max-width: 650px;
    margin: 0 auto;
    padding: 0; 
}

/* Form Container */
.shoe-form {
    padding: 25px; 
    border: 1px solid #90CAF9; /* Light Blue Border */
    border-radius: 8px;
    background-color: #F8FBFD; /* Very Light Background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.shoe-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1976D2; /* Blue */
    border-bottom: 2px solid #BBDEFB;
    padding-bottom: 5px; 
    margin-top: 5px; 
    margin-bottom: 20px; 
}

/* Compact Input Grid */
.shoe-input-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 20px 2%; /* Space between the input fields */
}

.shoe-input-group {
    flex-basis: 48%; /* Allows two inputs per row */
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.shoe-input-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem; 
    margin-bottom: 8px;
}

.shoe-input-group select, .shoe-input-group input {
    padding: 12px;
    border: 1px solid #64B5F6;
    border-radius: 6px;
    font-size: 1rem;
    flex-grow: 1;
    text-align: center;
}
.shoe-input-group input {
    text-align: right;
}

/* Category Toggle */
#categoryToggle {
    margin-bottom: 20px;
    text-align: center;
}
#categoryToggle button {
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #1976D2;
    background-color: #E3F2FD;
    color: #1976D2;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}
#categoryToggle button.active {
    background-color: #1976D2;
    color: white;
    border-color: #1976D2;
}

/* Button Styles */
.shoe-calculate-btn {
    display: block;
    width: 100%;
    padding: 16px; 
    margin-top: 30px; 
    background-color: #1976D2; /* Primary Blue */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}
.shoe-calculate-btn:hover {
    background-color: #1565C0;
}

/* --- Results Display --- */
.shoe-results {
    margin-top: 20px; 
    padding: 25px;
    border: 2px solid #64B5F6; 
    border-radius: 8px;
    background-color: #E3F2FD; /* Lightest Blue */
    text-align: center;
}

.shoe-results-title {
    color: #1976D2;
    font-size: 1.6rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #BBDEFB;
    padding-bottom: 5px;
}

.shoe-results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.shoe-results-table th, .shoe-results-table td {
    padding: 12px 10px;
    border: 1px solid #BBDEFB;
    text-align: left;
}
.shoe-results-table th {
    background-color: #BBDEFB;
    color: #1976D2;
    font-weight: 700;
    text-transform: uppercase;
    width: 30%;
}
.shoe-results-table td {
    font-size: 1.2rem;
    font-weight: 600;
    color: #388E3C; /* Dark Green highlight for size */
}

/* --- Responsive Adjustments --- */
@media (max-width: 550px) {
    .shoe-input-group {
        flex-basis: 100%; /* Stack inputs on small screens */
    }
    #categoryToggle button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}



/* Button Styles */
.shoe-calculate-btn {
    display: block;
    width: 100%;
    padding: 16px; 
    margin-top: 30px; 
    background-color: #1976D2; /* Primary Blue */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}
.shoe-calculate-btn:hover {
    background-color: #1565C0;
}

/* --- Fixed style for the Recalculate Button --- */
.bc-recalculate-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #9E9E9E; /* Gray background */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.bc-recalculate-btn:hover {
    background-color: #616161;
}
/* ----------------------------------------------- */

