/* WooCommerce Custom Registration Styles */

.wc-custom-registration-fields {
    margin-top: 20px;
}

.id-upload-section {
    margin-top: 30px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.id-upload-section h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.2em;
}

.id-upload-section .description {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.95em;
}

.upload-status {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.9em;
}

.upload-status .success {
    color: #46b450;
    font-weight: bold;
}

.upload-status .error {
    color: #dc3232;
    font-weight: bold;
}

.upload-status .uploading {
    color: #0073aa;
    font-weight: bold;
}

.id-upload-info {
    margin-top: 15px;
    padding: 10px;
    background: #fff;
    border-left: 3px solid #0073aa;
}

.id-upload-info small {
    color: #666;
}

/* File Input Styling */
input[type="file"].id-upload {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    width: 100%;
    cursor: pointer;
}

input[type="file"].id-upload:hover {
    border-color: #0073aa;
}

/* Date Input */
input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* Form Row Spacing */
.woocommerce-form-row {
    margin-bottom: 15px;
}

/* Required Asterisk */
.required {
    color: #dc3232;
    font-weight: bold;
}

/* Age Warning */
.age-warning {
    font-size: 0.9em;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-form-row--first,
    .woocommerce-form-row--last {
        width: 100%;
        float: none;
    }
    
    .id-upload-section {
        padding: 15px;
    }
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.upload-status .uploading::before {
    content: '';
    display: inline-block;
    animation: spin 1s linear infinite;
}
