/* Design 4: Elegant Boxed */
.wc-icalculator-single-product {
    margin: 20px 0;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.wc-icalculator-single-product h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    text-align: center;
}

.wc-icalculator-single-product ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wc-icalculator-single-product ul li {
    padding: 10px 18px;
    margin-bottom: 6px;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wc-icalculator-single-product ul li:last-child {
    margin-bottom: 0;
}

.wc-icalculator-show-link, .wc-icalculator-show-link:focus {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    outline:none;
}

.wc-icalculator-show-link:hover {
    background-color: #ffffff;
    color: #764ba2;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.wc-icalculator-show-content.has_show_link {
    margin-top: 20px;
}

.wc-icalculator-single-product .wc-icalculator-installment-group {
    margin-bottom: 15px;
}

/* Form Styles */
.wc-icalculator-form {
    margin-bottom: 20px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wc-icalculator-form-cols {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}

.wc-icalculator-form #card_bin {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.wc-icalculator-form #card_bin:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wc-icalculator-form #card_bin_button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.wc-icalculator-form #card_bin_button:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.wc-icalculator-form #card_bin_button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

.wc-icalculator-form-message {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wc-icalculator-form-message.error {
    background-color: rgba(255, 245, 245, 0.95);
    color: #c33;
    border: 2px solid rgba(255, 200, 200, 0.5);
}

.wc-icalculator-form-message.success {
    background-color: rgba(240, 255, 244, 0.95);
    color: #3c3;
    border: 2px solid rgba(198, 246, 213, 0.5);
}

/* Reset Link */
#card_bin_reset {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

#card_bin_reset:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}