/**
 * Card2Code Simple Checkout Styles
 */

.c2c-checkout-fields {
    margin: 20px 0;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* Instructions Section */
.c2c-instructions-section {
    margin-bottom: 20px;
}

.c2c-instructions-section h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.c2c-instructions-list {
    margin: 0 0 0 20px;
    padding: 0;
}

.c2c-instructions-list li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #4b5563;
}

.c2c-instructions-list li:last-child {
    margin-bottom: 0;
}

/* Button Section */
.c2c-button-section {
    margin-bottom: 20px;
}

.c2c-open-coingate-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
    border: none !important;
}

.c2c-open-coingate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Code Input Section */
.c2c-code-input-section {
    margin-top: 20px;
}

.c2c-code-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
}

.c2c-code-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    transition: all 0.2s ease;
    text-transform: uppercase;
    box-sizing: border-box;
}

.c2c-code-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.c2c-code-input.error {
    border-color: #ef4444;
}

.c2c-code-input.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.c2c-error-message {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

/* Notification */
.c2c-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1f2937;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    font-size: 14px;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .c2c-checkout-fields {
        padding: 16px;
    }

    .c2c-open-coingate-button {
        width: 100%;
        justify-content: center;
    }

    .c2c-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
    }
}
