/* Card Selector Styles */
.card-selector .btn {
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-selector .btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
}

.card-selector .btn-outline-primary:hover,
.card-selector .btn-outline-primary.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Amazon Pay Card Styles */
.amazon-pay-card {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.amazon-pay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(255, 255, 255, 0.03) 1px,
        rgba(255, 255, 255, 0.03) 2px
    );
    pointer-events: none;
}

.amazon-pay-card .card-header {
    padding: 0;
    background: none;
    border: none;
    margin-bottom: 20px;
}

.amazon-pay-card .card-body {
    padding: 0;
}

/* Amazon Logo */
.amazon-logo {
    margin-bottom: 15px;
}

.amazon-text {
    font-size: 24px;
    font-weight: 600;
    color: #ff9900;
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* Card Type */
.card-type {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #cccccc;
}

.card-type i {
    font-size: 20px;
    color: #1a73e8;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Amount Info */
.amount {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.spent-text {
    font-size: 12px;
    color: #999999;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Chip Section */
.chip-section {
    display: flex;
    align-items: center;
}

.chip {
    width: 45px;
    height: 35px;
    background: linear-gradient(145deg, #f0f0f0, #d4d4d4);
    border-radius: 6px;
    position: relative;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.1);
}

.chip::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: linear-gradient(45deg, #e0e0e0, #c0c0c0);
    border-radius: 2px;
}

.chip::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: repeating-linear-gradient(
        0deg,
        #b0b0b0,
        #b0b0b0 1px,
        transparent 1px,
        transparent 3px
    ),
    repeating-linear-gradient(
        90deg,
        #b0b0b0,
        #b0b0b0 1px,
        transparent 1px,
        transparent 3px
    );
    border-radius: 1px;
}

.contactless {
    color: #999999;
    font-size: 20px;
    display: inline-block;
    transform: rotate(-45deg);
}

/* Card Holder */
.holder-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    color: white;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

/* Pay Dues Button */
.pay-dues-btn {
    background: white;
    color: #333333;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.pay-dues-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    color: #333333;
}

.pay-dues-btn:active {
    transform: translateY(0);
}

/* Controls Section */
.controls {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.controls .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.controls .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    border: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amazon-pay-card {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .amazon-pay-card {
        padding: 20px;
        min-height: 240px;
    }
    
    .amount {
        font-size: 24px;
    }
    
    .amazon-text {
        font-size: 20px;
    }
    
    .holder-name {
        font-size: 16px;
    }
    
    .pay-dues-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .amazon-pay-card {
        padding: 15px;
    }
    
    .chip-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contactless {
        margin-left: 0 !important;
    }
}

/* Form styling */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* SBI Card Styles */
.sbi-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.sbi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(255, 255, 255, 0.02) 1px,
        rgba(255, 255, 255, 0.02) 2px
    );
    pointer-events: none;
}

.sbi-card .card-header {
    padding: 0;
    background: none;
    border: none;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.sbi-card .card-body {
    padding: 0;
    position: relative;
    z-index: 2;
}

/* SBI Logo */
.sbi-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.sbi-logo i {
    font-size: 12px;
    margin-right: 8px;
}

.sbi-text {
    font-size: 24px;
    font-weight: 600;
    color: #5dade2;
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* RuPay Logo */
.rupay-logo {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Golden Wave Background */
.golden-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(
        45deg,
        transparent 0%,
        transparent 20%,
        rgba(255, 215, 0, 0.1) 25%,
        rgba(255, 215, 0, 0.3) 50%,
        rgba(255, 215, 0, 0.4) 60%,
        rgba(255, 215, 0, 0.3) 75%,
        rgba(255, 215, 0, 0.1) 85%,
        transparent 100%
    );
    transform: skewY(-8deg);
    transform-origin: top left;
    opacity: 0.8;
}

.golden-wave::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 100px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 215, 0, 0.6) 0%,
        rgba(255, 215, 0, 0.4) 30%,
        rgba(255, 215, 0, 0.2) 60%,
        transparent 100%
    );
    transform: skewY(4deg);
    filter: blur(1px);
}

.golden-wave::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 215, 0, 0.1) 2px,
        rgba(255, 215, 0, 0.1) 4px
    );
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
} 