/* Modal Overlay Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 16px;
    margin-top: 20vh;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    margin-bottom: 15px;
}

/* Floating Buttons Container */
.fab-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* Common Button Styles */
.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.fab-refresh {
    background: #007aff;
    color: white;
}

.fab-add {
    background: #34c759;
    color: white;
    font-size: 36px;
}

/* Notification Toast */
.toast-msg {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    z-index: 9999;
    font-size: 16px;
}

/* FORCE ACTION BUTTONS TO BE CLICKABLE AND VISIBLE */
button.btn-action {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    transition: transform 0.1s ease;
}

button.btn-action:active {
    transform: scale(0.95);
}

/* Force specific colors for your buttons */
.btn-buy { background-color: #34c759 !important; }
.btn-sell { background-color: #ff9500 !important; }