.crypto-send-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.crypto-send-overlay.active {
    opacity: 1;
    visibility: visible;
}

.crypto-send-modal {
    background: rgba(18, 18, 30, 0.97);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 420px;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.crypto-send-overlay.active .crypto-send-modal {
    transform: translateY(0) scale(1);
}

.crypto-send-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.crypto-send-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.crypto-send-token-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.crypto-send-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.crypto-send-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.crypto-send-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.crypto-send-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.crypto-send-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.crypto-send-balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.crypto-send-balance-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.crypto-send-balance-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffd700;
}

.crypto-send-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.crypto-send-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.crypto-send-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.crypto-send-input:focus {
    border-color: rgba(255, 215, 0, 0.5);
}

.crypto-send-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.crypto-send-amount-wrap {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.crypto-send-amount-input {
    flex: 1;
    min-width: 0;
}

.crypto-send-max-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: #ffd700;
    padding: 0 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.crypto-send-max-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.35), rgba(255, 215, 0, 0.2));
    border-color: rgba(255, 215, 0, 0.6);
}

.crypto-send-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-send-cancel-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.crypto-send-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.crypto-send-execute-btn {
    flex: 1;
    background: linear-gradient(135deg, #ffd700 0%, #f0c000 100%);
    border: none;
    color: #1a1a2e;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.crypto-send-execute-btn:hover {
    background: linear-gradient(135deg, #ffe033 0%, #ffd700 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.crypto-send-execute-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.crypto-send-execute-spinner {
    display: inline-flex;
    align-items: center;
}

.crypto-send-confirm-overlay {
    z-index: 10002;
}

.crypto-send-confirm-modal {
    background: rgba(18, 18, 30, 0.98);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 380px;
    padding: 2rem 1.5rem;
    text-align: center;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.crypto-send-confirm-overlay.active .crypto-send-confirm-modal {
    transform: translateY(0) scale(1);
}

.crypto-send-confirm-icon {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 0.75rem;
}

.crypto-send-confirm-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.crypto-send-confirm-actions {
    display: flex;
    gap: 0.75rem;
}

@media screen and (max-width: 480px) {
    .crypto-send-modal {
        border-radius: 16px;
    }

    .crypto-send-header,
    .crypto-send-body,
    .crypto-send-actions {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .crypto-send-confirm-modal {
        padding: 1.5rem 1rem;
    }
}
