/* Base Container */
#WIC10134-2 {
    font-family: "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    max-width: 500px;
    margin: 10px auto;
    padding: 30px;
    border: 1px solid #000000;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#WIC10134-2 h2,
#WIC10134-2 h3,
#WIC10134-2 legend,
#WIC10134-2 label,
#WIC10134-2 .wic-10134-input,
#WIC10134-2 .wic-10134-button,
#WIC10134-2 .wic-10134-results-title,
#WIC10134-2 .wic-10134-result-label,
#WIC10134-2 .wic-10134-result,
#WIC10134-2 .wic-10134-error-container,
#WIC10134-2 .wic-10134-watermark {
    font-family: "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Typography */
#WIC10134-2 h2 {
    text-align: center;
    font-size: 1.8em;
    margin-top: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
}

#WIC10134-2 h3 {
    text-align: center;
    font-size: 1.3em;
    color: #666;
    margin-top: 0;
    margin-bottom: 40px;
}

/* Layout Components */
#WIC10134-2 .wic-10134-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#WIC10134-2 .wic-10134-flex-item {
    flex: 1;
}

/* Form Structure */
#WIC10134-2 .wic-10134-input-group {
    margin-bottom: 20px;
}

#WIC10134-2 fieldset {
    border: none;
    padding: 0;
    margin: 0 0 25px 0;
}

/* Labels and Legends */
#WIC10134-2 .wic-10134-input-group label,
#WIC10134-2 legend {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.9em;
    font-weight: bold;
}

/* Input Fields */
#WIC10134-2 .wic-10134-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    color: #333;
    line-height: 1.6;
    border: 1px solid #CCC;
    border-radius: 5px;
    box-sizing: border-box;
    text-align: center;
    height: auto;
}

#WIC10134-2 .wic-10134-input:focus {
    border: 1px solid #0056b3;
    outline: none;
    background-color: #f0f8ff;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
}

#WIC10134-2 .wic-10134-input:hover {
    background: #f0f8ff;
    transform: scale(1.03);
    border-color: #0056b3;
    color: #333;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Radio Button Groups */
#WIC10134-2 .wic-10134-radio-group {
    display: flex;
    gap: 10px;
    margin-bottom: 0px;
}

#WIC10134-2 .wic-10134-radio-item {
    flex: 1;
}

#WIC10134-2 .wic-10134-radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

#WIC10134-2 .wic-10134-radio-group input[type="radio"] + label {
    padding: 15px;
    background: #e0e0e0;
    border: 1px solid #b7b7b7;
    border-radius: 5px;
    color: #000000;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    flex: 1;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#WIC10134-2 .wic-10134-radio-group input[type="radio"] + label:hover {
    background: #f0f8ff;
    transform: scale(1.03);
    border-color: #0056b3;
    color: #333;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

#WIC10134-2 .wic-10134-radio-group input[type="radio"]:checked + label {
    background: #5FC9BE;
    color: #000000;
    border-color: #000000;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.2);
}

#WIC10134-2 .wic-10134-radio-group input[type="radio"]:focus + label {
    outline: 1px solid #000000;
    background: #5FC9BE;
    transition: all 0.1s ease;
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Calculate Button */
#WIC10134-2 .wic-10134-button {
    display: block;
    width: 100%;
    margin-top: 40px;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    background: #5FC9BE;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
    letter-spacing: 0.5px;
}

#WIC10134-2 .wic-10134-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #6DD8CD;
    letter-spacing: 1px;
}

#WIC10134-2 .wic-10134-button:active,
#WIC10134-2 .wic-10134-button.pressed {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #54B4AA;
    transition: all 0.05s ease-in;
}

#WIC10134-2 .wic-10134-button:focus {
    outline: 2px solid #000000;
    outline-offset: 1px;
}

/* Results Section */
#WIC10134-2 .wic-10134-results {
    text-align: center;
    margin-top: 50px;
}

#WIC10134-2 .wic-10134-result-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #666666;
    text-align: center;
    margin-bottom: 15px;
}

#WIC10134-2 .wic-10134-result {
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 50px;
}

/* States */
#WIC10134-2 .wic-10134-error {
    color: #dc2626;
    font-size: 1.1em;
    font-weight: normal;
}

/* Loading Animation */
.wic-10134-button.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    opacity: 0.8;
}

.wic-10134-button.loading::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top: 3px solid #000000;
    border-radius: 50%;
    animation: button-loading-spinner 1s linear infinite;
}

@keyframes button-loading-spinner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Accessibility */
#WIC10134-2[data-unit="metric"] .wic-10134-imperial-input label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    #WIC10134-2 {
        max-width: 100%;
        padding: 20px;
    }
}

.elementor .e-con-inner #WIC10134-2 .wic-10134-watermark {
    text-align: right !important;
    margin-top: 20px !important;
    font-size: 0.8em !important;
    color: #555;
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
    line-height: normal;
}

.elementor .e-con-inner #WIC10134-2 .wic-10134-watermark a {
    color: #0078d4 !important;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    font-family: "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !;
}

/* Reset any Elementor spacing that might affect the watermark */
.elementor .e-con-inner #WIC10134-2 .wic-10134-watermark {
    padding: 0;
    margin: 20px 0 0 0;
    border: none;
    background: none;
}

/* Override any container flex properties that might affect alignment */
.elementor .e-con-inner #WIC10134-2 {
    display: block;
}

/* Safari-specific styles */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* Safari 10.1+ */
    @supports (-webkit-text-size-adjust:none) and (not (-ms-accelerator:true)) and (not (-moz-appearance:none)) {
        /* Select elements */
        #WIC10134-2 select.wic-10134-input {
            -webkit-appearance: none;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0,0 L12,0 L6,6 Z" fill="%23333"/></svg>');
            background-position: calc(100% - 10px) center;
            background-repeat: no-repeat;
            padding-right: 30px;
            min-height: 44px; /* Ensures consistent height matching other browsers */
            line-height: 1.6; /* Improves vertical centering of text */
        }
        
        /* Time inputs */
        #WIC10134-2 input[type="time"].wic-10134-input {
            -webkit-appearance: none;
            min-height: 44px; /* Ensures consistent height */
        }
        
        /* All inputs for consistency */
        #WIC10134-2 input.wic-10134-input {
            min-height: 44px; /* Consistent height across all inputs */
        }
        
        /* Better padding for select elements */
        #WIC10134-2 select.wic-10134-input {
            padding: 8px 30px 8px 15px; /* top right bottom left */
        }
    }
}


