/* AddCoins Page Styles */

.package-card {
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
    border-color: #0d6efd !important;
}

.payment-method-card {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.payment-method-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #0d6efd;
}

.payment-method-card.selected {
    border-color: #0d6efd !important;
    background-color: #f8f9ff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.payment-method-card .payment-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method-card .card-title {
    font-weight: 600;
    color: #212529;
}

.payment-method-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Badge animations */
.badge {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .package-card,
    .payment-method-card {
        margin-bottom: 1rem;
    }

    .payment-method-card .card-body {
        padding: 1.5rem !important;
    }

    .payment-icon {
        height: 60px !important;
    }

    .payment-icon i {
        font-size: 2.5rem !important;
    }
}

/* Loading animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Success animation for selected package */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    animation: slideInDown 0.4s ease-out;
}
