section.hero-section{
    margin-bottom: 0;
}
input {
    border-bottom: 1px solid black !important;
    border-radius: 0px !important;
}
.calculator-content {
    padding: 0 2rem;
}

.calculator-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.calculator-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 500;
    color: var(--text-color);
}

.input-group input,
.input-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--input-bg);
    color: var(--text-color);
}

.result {
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.calculator-history {
    margin-top: 3rem;
}

.history-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.suggestions-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-item img.crypto-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    object-fit: contain;
}

.suggestion-item .crypto-name {
    flex-grow: 1;
    font-weight: 500;
}

.suggestion-item .crypto-symbol {
    color: #666;
    margin: 0 10px;
}

.suggestion-item .crypto-price {
    color: #333;
    font-weight: 500;
}

.selected-crypto-info {
    display: none;
    align-items: center;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.selected-crypto-info img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.selected-crypto-info span {
    margin-right: 10px;
}

.mode-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.mode-button {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.mode-button.active {
    background: var(--accent-color);
    color: white;
}

.mode-button i {
    margin-right: 8px;
}

input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.amount-group {
    position: relative;
}

#amount-currency {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 500;
}

.conversion-result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.result-label {
    color: white;
}

.result-value {
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
}

.result-currency {
    color: white;
    font-weight: 500;
}

.price-info {
    color: #666;
    font-size: 0.9rem;
}

.price-value {
    font-weight: 500;
}

.platform-recommendations {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.platform-recommendations h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.platforms {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    justify-content: space-around;
}

.platform-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
}

.platform-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.platform-logo {
    width: 48px;
    height: 48px;
    margin-right: 1.5rem;
    object-fit: contain;
}

.platform-info {
    flex: 1;
}

.platform-info h4 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.platform-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.leverage-warning {
    color: #ff3d00;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-align: center;
}

#leverage-size {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 1rem;
}

#leverage-size:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.slider-container {
    width: 100%;
    padding: 10px 0;
}

.leverage-slider {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    background: #ddd;
    outline: none;
    border-radius: 3px;
    transition: background 0.2s;
}

.leverage-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.leverage-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.leverage-slider:hover::-webkit-slider-thumb {
    background: #0056b3;
}

.leverage-slider:hover::-moz-range-thumb {
    background: #0056b3;
}

#leverage-value {
    background: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-left: 8px;
}

.mode-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mode-button {
    padding: 0.5rem 1.5rem;
    border: 1px solid #007bff;
    background: none;
    color: #007bff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-button.active {
    background: #007bff;
    color: white;
}

.suggestions-container {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.crypto-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

.selected-crypto {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.crypto-details {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
}

.amount-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

#amount-currency {
    position: absolute;
    right: 0.5rem;
    color: #666;
}

.conversion-result {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    text-align: center;
}

.price-info {
    margin-top: 0.5rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .platform-recommendations {
        padding: 15px;
    }
    
    .platform-card {
        padding: 1rem;
    }
    
    .platform-logo {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .calculator-tools {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .history-list {
        grid-template-columns: 1fr;
    }
}
