@font-face {
    font-family: 'OCR A Std';
    font-style: normal;
    font-weight: normal;
    src: local('OCR A Std'), url('fonts/OCRAStd.woff') format('woff');
    }
	
       
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=OCR+A+Std&display=swap'); 
        
        
       * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

        .atm_card {
            width: 400px;
            height: 250px;
            border-radius: 15px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            background: linear-gradient(135deg, #1a237e 0%, #3f51b5 50%, #5c6bc0 100%);
			line-height: 1;
			 margin: 40px auto;
        }
        
        .atm_card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 60%;
            height: 100%;
            background-image: repeating-linear-gradient(
                45deg,
                rgba(255,255,255,0.1) 0px,
                rgba(255,255,255,0.1) 2px,
                transparent 2px,
                transparent 8px
            );
        }
        
        .atm_card-content {
            position: relative;
            z-index: 2;
            padding: 25px;
            height: 100%;
            display: flex;
            flex-direction: column;
            color: white;
        }
        
        .atm_card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 25px;
        }
        
        .atm_card-title {
            font-size: 22px;
            font-weight: 300;
            letter-spacing: 1px;
        }
        
        .chip-contactless {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .chip {
            width: 35px;
            height: 28px;
            background: linear-gradient(145deg, #e0e0e0, #bdbdbd);
            border-radius: 4px;
            position: relative;
            border: 1px solid #9e9e9e;
        }
        
        .chip::before {
            content: '';
            position: absolute;
            top: 3px;
            left: 3px;
            right: 3px;
            bottom: 3px;
            background: linear-gradient(145deg, #f5f5f5, #e0e0e0);
            border-radius: 2px;
        }
        
        .chip-lines {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 15px;
            background-image: 
                linear-gradient(90deg, #999 1px, transparent 1px),
                linear-gradient(0deg, #999 1px, transparent 1px);
            background-size: 3px 3px;
        }
        
        .contactless {
            width: 25px;
            height: 20px;
            position: relative;
        }
        
        .contactless::before,
        .contactless::after {
            content: '';
            position: absolute;
            border: 2px solid rgba(255,255,255,0.8);
            border-radius: 50%;
            border-right: transparent;
            border-bottom: transparent;
            transform: rotate(45deg);
        }
        
        .contactless::before {
            width: 15px;
            height: 15px;
            top: 2px;
            left: 5px;
        }
        
        .contactless::after {
            width: 10px;
            height: 10px;
            top: 4.5px;
            left: 7.5px;
        }
        
        .atm_card-number {
            font-size: 21px;
            font-weight: 300;
            letter-spacing: 3px;
            margin-bottom: 20px;
            font-family: 'OCR A Std';
			line-height: 1; 
			padding:0;
        }
        
        .atm_card-details {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            flex-grow: 1;
        }
        
        .left-details {
            display: flex;
            flex-direction: column;
        }
        
        .valid-thru {
            font-size: 8px;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
            opacity: 0.8;
        }
        
        .expiry-date {
            font-size: 14px;
            font-weight: 300;
            letter-spacing: 1px;
            margin-bottom: 8px;
            font-family: 'OCR A Std';
        }
        
        .cardholder-name {
            font-size: 14px;
            font-weight: 300;
            letter-spacing: 1.5px;
			font-family:'OCR A Std';
			text-transform:uppercase;
        }
        
        .visa-logo {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            text-align: right;
        }
        
        .visa-text {
            font-size: 28px;
            font-weight: bold;
            letter-spacing: 2px;
            font-style: italic;
            margin-bottom: 2px;
        }
        
        .platinum-text {
            font-size: 11px;
            font-weight: 300;
            letter-spacing: 1px;
            opacity: 0.9;
        }
        
        /* Responsive Design */
        @media (max-width: 480px) {
            .atm_card {
                width: 100%;
                max-width: 350px;
                height: 220px;
            }
            
            .atm_card-content {
                padding: 20px;
            }
            
            .atm_card-title {
                font-size: 18px;
            }
            
            .atm_card-number {
                font-size: 19px;
                letter-spacing: 2px;
            }
            
            .visa-text {
                font-size: 24px;
            }
            
            .cardholder-name {
                font-size: 12px;
            }
        }
        
        @media (max-width: 360px) {
            .atm_card {
                height: 200px;
            }
            
            .atm_card-content {
                padding: 18px;
            }
            
            .atm_card-title {
                font-size: 16px;
            }
            
            .atm_card-number {
                font-size: 15px;
                letter-spacing: 1.5px;
                margin-bottom: 15px;
            }
            
            .chip {
                width: 30px;
                height: 24px;
            }
            
            .visa-text {
                font-size: 22px;
            }
        }
		
        .mastercard-logo {
            
            bottom: 20px;
            right: 20px;
            width: 80px;
            z-index: 1;
        }
		
		.custom-text {
    font-weight: 600; /* bolder for stronger emboss */
    background: linear-gradient(
        90deg,
        #cfcfcf 0%,
        #f5f5f5 20%,
        #a6a6a6 40%,
        #ffffff 60%,
        #8c8c8c 80%,
        #e0e0e0 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* multi-layered embossed shadows */
    text-shadow:
        0 1px 1px rgba(255,255,255,0.8),   /* top highlight */
        0 -1px 1px rgba(0,0,0,0.4),        /* bottom shadow */
        1px 2px 3px rgba(0,0,0,0.6),       /* deeper emboss */
        -1px -2px 2px rgba(255,255,255,0.5); /* subtle engraved light */
}

		
		
/* Sleek & Beautiful Modal Redesign */
.modal {
    backdrop-filter: blur(10px);
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.modal-dialog {
    margin: 40px auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    background: #ffffff;
    overflow: hidden;
}

/* Clean, Minimal Header */
.modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 24px 32px;
    background: #ffffff;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.modal-title {
    font-weight: 600;
    font-size: 20px;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.02em;
}

.btn-close {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.btn-close:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    opacity: 1;
    transform: scale(1.05);
}

.btn-close:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Clean Modal Body */
.modal-body {
    padding: 32px;
    background: #ffffff;
    color: #475569;
    line-height: 1.6;
}


.modal-footer {
    border-top: 1px solid #f1f5f9;
    padding: 24px 32px;
    background: #fafbfc;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}


.modal .btn {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: none;
}

.modal .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.modal .btn:hover::before {
    left: 100%;
}

.modal .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    color: white;
}

.modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.modal .btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
    color: white;
}

.modal .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(100, 116, 139, 0.4);
}

.modal .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    color: white;
}

.modal .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.modal .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    color: white;
}

.modal .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.4);
}

/* Clean Form Elements */
.modal .form-control {
        border: 1px solid #929292;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
}

.modal .form-control:focus {
        border-color: #4f46e5;
    
    outline: none;
}

.modal .form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-size: 14px;
}

/* Subtle Hover Effects */
.modal-content:hover {
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.15),
        0 12px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: #1f2937;
        color: #f9fafb;
    }
    
    .modal-header {
        background: #1f2937;
        border-bottom-color: #374151;
    }
    
    .modal-title {
        color: #f9fafb;
    }
    
    .modal-body {
        background: #1f2937;
        color: #d1d5db;
    }
    
    .modal-footer {
        background: #111827;
        border-top-color: #374151;
    }
    
    .btn-close {
        background: #374151;
        border-color: #4b5563;
    }
    
    .btn-close:hover {
        background: #4b5563;
    }
    
    .modal .form-control {
        background: #374151;
        border-color: #4b5563;
        color: #f9fafb;
    }
    
    .modal .form-control:focus {
        border-color: #3b82f6;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 20px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}		

.btn-close::before {
    content: "✕";
    font-size: 16px;
    color: #64748b;
}