#conversion-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversion-modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    padding:0 20px 20px 20px !important; 
}

.conversion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.conversion-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.close-overlay {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-overlay:hover {
    background-color: #f5f5f5;
    color: #333;
}

.conversion-content {
    padding: 0 20px 20px 20px;
}

.form-group {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.converted-amount {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #28a745;
    border: 1px solid #e9ecef;
    min-height: 20px;
}

.add-amount-btn {
    width: 100%;
    padding: 12px;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.add-amount-btn:hover:not(:disabled) {
    background-color: #005a87;
}

.add-amount-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsive design */
@media (max-width: 480px) {
    .conversion-modal {
        width: 95%;
        margin: 10px;
    }
    
    .conversion-header,
    .conversion-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .conversion-header h3 {
        font-size: 16px;
    }
}
