.credit-card {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.2s;
}

.credit-card:hover {
    transform: translateY(-10px);
}

.card-header {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.card-name {
    margin: 0;
    font-size: 1.5em;
}

.card-details {
    padding: 20px;
}

.card-details p {
    margin: 10px 0;
    font-size: 1em;
}

.card {
    width: 300px; /* Set the fixed width for the card */
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 16px auto; /* Center the card horizontally */
}
