/**
 * ccHeroes Payment Form CSS
 */

.wc-ccheroes-form {
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 4px;
    margin-bottom: 20px;
}

.wc-ccheroes-form .form-row {
    margin-bottom: 15px;
}

.wc-ccheroes-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.wc-ccheroes-form p label {
    padding-left: 0;
}
.wc-ccheroes-form p{
    padding: 10px 15px; 
}

.wc-ccheroes-form input.input-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.wc-ccheroes-form input.input-text:focus {
    border-color: #666;
    outline: none;
}

.wc-ccheroes-form .form-row.form-row-first {
    float: left;
    width: 48%;
}

.wc-ccheroes-form .form-row.form-row-last {
    float: right;
    width: 48%;
}

.wc-ccheroes-form::after {
    content: "";
    display: table;
    clear: both;
}

.wc-ccheroes-form .card-icons {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

.wc-ccheroes-form .card-icon {
    width: 40px;
    height: 25px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.wc-ccheroes-form .card-icon.active {
    opacity: 1;
}

.wc-ccheroes-form .card-icon.visa {
    background-image: url('../images/visa.png');
}

.wc-ccheroes-form .card-icon.mastercard {
    background-image: url('../images/mastercard.png');
}

.wc-ccheroes-form .card-icon.amex {
    background-image: url('../images/amex.png');
}

.wc-ccheroes-form .card-icon.discover {
    background-image: url('../images/discover.png');
}

.wc-ccheroes-form .card-icon.diners {
    background-image: url('../images/diners.png');
}

.wc-ccheroes-form .card-icon.jcb {
    background-image: url('../images/jcb.png');
}

.wc-ccheroes-test-mode-notice {
    background-color: #fcf8e3;
    color: #8a6d3b;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Responsive styles */
@media screen and (max-width: 480px) {
    .wc-ccheroes-form .form-row.form-row-first,
    .wc-ccheroes-form .form-row.form-row-last {
        float: none;
        width: 100%;
    }
}
