/* ==========================================================================
   GIFT REGISTRY CREATE TEMPLATE STYLES
   ========================================================================== */

/* Container */
.registry-create-container {
    margin: auto;
}

/* Form Fields */
.registry-form-field {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.registry-form-field:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

/* Textarea */
.registry-form-textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
}

/* File Input */
.registry-form-file {
    margin-bottom: 10px;
}

/* Help Text */
.registry-help-text {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Shipping Options */
.shipping-timing-fields {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 5px;
    border-left: 3px solid #007cba;
}

.shipping-timing-fields.show {
    display: block;
}

/* Shipping Address Fields */
.shipping-address-fields {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.shipping-address-fields.show {
    display: block;
}

/* Radio Group Styling */
.radio-group {
    margin: 10px 0;
}

.radio-group label {
    display: block;
    margin: 8px 0;
    cursor: pointer;
    font-weight: normal;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
}

/* Submit Button */
.registry-submit-button {
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.registry-submit-button:hover {
    background: #005a87;
}

/* Responsive Design */
@media (max-width: 768px) {
    .registry-form-field,
    .registry-form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .registry-submit-button {
        width: 100%;
        padding: 15px 20px;
    }
}
