.octomine-calculator-wrapper {
    font-family: 'Open Sans', sans-serif;
    margin: 0 auto;
    overflow: hidden;
}

.octomine-chart-container {
    position: relative;
    width: 100%;
    height: 432px;
    padding: 0px 0px 20px;
}

.octomine-percentage-scale {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 60px);
    margin: 0 auto 15px;
    font-size: 14px;
    color: #0054ff;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1;
}

.octomine-controls-container {
    padding-top: 0px !important;
    width: 60%;
    padding: 0;
}

.octomine-calculator-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.octomine-form-group {
    flex: 1;
}

.octomine-form-group label {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 24px;
    color: #B8B3BD;
}

.octomine-form-group input[type="number"] {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #402C52;
    border-radius: 30px;
    font-size: 16px;
    color: #5C5563;
    line-height: 21px;
    background: #160B20;
    transition: all 0.2s;
    -moz-appearance: textfield; /* Firefox */
}

.octomine-form-group input[type="number"]::-webkit-outer-spin-button,
.octomine-form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.octomine-form-group input[type="number"]:focus {
    border-color: #7A0CDB;
    color:#F6F6F6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 12, 219, 0.1);
}

.octomine-period-select {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #402C52;
    border-radius: 30px;
    font-size: 16px;
    line-height: 21px;
    color: #5C5563;
    background: #160B20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='11' viewBox='0 0 20 11'%3E%3Cpath d='M947.722,23.254a1,1,0,0,1-.707-.293l-9-9a1,1,0,1,1,1.414-1.414l8.293,8.293,8.293-8.293a1,1,0,0,1,1.414,1.414l-9,9A1,1,0,0,1,947.722,23.254Z' transform='translate(-937.722 -12.254)' fill='%235C5563'/%3E%3C/svg%3E") no-repeat;
    background-position: right 16px center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s;
}

.octomine-period-select:focus {
    border-color: #7A0CDB;
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 12, 219, 0.1);
}

.octomine-calculate-btn {
    padding: 12px 24px;
    background: #7A0CDB;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.octomine-calculate-btn:hover {
    background: #6A0AC8;
}

.octomine-calculator-footer {
    margin-top: 40px;
    font-size: 18px;
    line-height: 24px;
    color:#B8B3BD;
}

@media (max-width: 1260px) {
.octomine-controls-container {
    width: 100%;
    padding: 0;
}
}

@media (max-width: 768px) {
    .octomine-calculator-form {
        padding-top: 0;
        flex-direction: column;
        align-items: stretch;
    }
.octomine-controls-container {
    width: 100%;
    padding: 0px !important;
}
    
    .octomine-calculate-btn {
        width: 100%;
    }
    
    .octomine-chart-container {
        height: 300px;
        padding: 0;
    }
    
    .octomine-percentage-scale {
        width: calc(100% - 30px);
        left: 15px;
        top: 20px;
    }
}

.octomine-profitability-info {
    margin-bottom: 30px;
    padding: 15px 20px 15px 20px;
    display: inline-block;
    background: rgba(122, 12, 219, 0.1);
    border-radius:8px;
    font-size: 18px;
    line-height: 1.5;
    color: #B8B3BD;
    opacity: 0;
    transition: opacity 0.2s linear;
}

.octomine-profitability-info strong {
    color: #f6f6f6;
    font-weight: 600;
}

.profitability-result {
    display: inline-block;
}

.octomine-calculate-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}