/**
 * Odds Converter Widget Styles
 * Save as: /assets/css/odds-converter.css
 */

section.calc-holder {
    font-family: "Roboto", Sans-serif;
    border: 3px solid #f0b140;
    width: 100%;
    max-width: 718px;
    display: inline-block;
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 22px;
    color: #0B1422;
    background-color: #E8ECF3;
    border-radius: 4px;
    padding: 39px 34px ;
}

/* Introduction Section */
.calc-intro {
    position: relative;
     display: block; width: 100%;
    
    text-align: center;
    padding: 0 58px 29px;
    border-bottom: rgba(0, 0, 0, 0.1) solid 1px;
}
.calc-inputs{ padding: 0 44px; display: block; width: 100%; }

.calc-intro p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: normal;
    color: #121212;
}

/* Input Section */
ul.calc-conversion {
    margin: 0px;
    padding:29px 0 0  0;
    display: flex; align-items: flex-start; gap: 15px;
    text-align: center;
    width: 100%;
}

ul.calc-conversion li {
    position: relative;
    margin: 0 0 0px;
    list-style: none;
    width: 100%;
    flex: inherit;
}

 

.calc-holder label {
    display: block;
    margin: 0 0 13px;
    width: 100%;
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
    text-align: center;
    color: #121212;
}

.calc-holder input {
    display: block;
    padding: 10px;
    width: 100%;
    height: 50px;;
    font-size: 16px;
    color: #BBBBBB;
    text-align: center;
    border: none;
    border-radius: 0;
    border-bottom: 3px solid #f0b140;
    outline: none;
    box-sizing: border-box;
    background-color: #fff;
    transition: all 0.3s ease;
    outline: none !important;
    box-shadow: none !important;
}

.calc-holder input::-webkit-input-placeholder {
    font-size: 15px;
    color: #A3A7AC;
}

.calc-holder input::-moz-placeholder {
    font-size: 15px;
    color: #A3A7AC;
}

.calc-holder input::placeholder {
    font-size: 15px;
    color: #A3A7AC;
}

.calc-holder input:focus {
    border-bottom: 3px solid #f0b140;
    box-shadow: 0 2px 8px rgba(240, 177, 64, 0.2);
}

.calc-holder input:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Content Layout */
 
.calc-odds-conversion .calc-content-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
}

.calc-conversion {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 25px;
}

.calc-conversion li {
    flex: 0 0 auto;
}

.calc-conversion li input {
    float: left;
}

.calc-content {
    margin: 0 0 0px;
    padding: 59px 44px 0;
}

.calc-content-inner {
    margin: 0 auto;
    box-sizing: border-box;
}

.calc-form-clear {
    clear: both;
    display: block;
    width: 100%;
    text-align: right;
    padding: 0 0 19px;
}

/* Clear Button */
.clear-calc {
    position: relative;
    display: inline-block;
     
    font-weight: 700;
    font-size: 16px;
    text-align: right;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 0px solid transparent;
    color: #121212;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-calc:hover {
    
    color: #f0b140;
}

/* Results Section */
.calc-results {
    clear: both;
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px; justify-content: flex-end
}

.calc-results label {
    display: block;
    font-size: 16px;
    line-height: normal;
    font-weight: 700;
    color: #121212;
    text-align: center;
    text-transform: none;
    box-sizing: border-box;
    margin: 0;
    width: auto;
  
}

.calc-holder .calc-results span {
    display: inline-block;
    padding: 0px 10px;
    width: 177px;
    max-width: 100%;
    font-weight: 700;
    font-size: 16px;
    display: flex; align-items: center;
    justify-content: center;
    background-color: #E6B356;
    border-radius: 0;
    border-bottom: 3px solid #000;
    color: #000;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
    min-height: 57px;
}

/* Animation for result updates */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.calc-results span.updated {
    animation: pulse 0.3s ease;
}

/* Input validation states */
.calc-holder input.error {
    border-bottom-color: #e74c3c;
}

.calc-holder input.success {
    border-bottom-color: #27ae60;
}

/* Loading state (optional) */
.calc-holder.loading {
    opacity: 0.7;
    pointer-events: none;
}

 @media (max-width: 768px) {
section.calc-holder{ padding: 24px 16px; } 
.calc-intro{ padding: 0 0 24px; }
ul.calc-conversion{ padding: 24px 0 0 0 ;flex-direction: column;  }
.calc-inputs{ padding: 0; }
.calc-content{ padding: 24px 0 0 0; }
.calc-results{ flex-direction: column ; gap: 10px; align-items: center; }
}



 