.custom-flex-center {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.custom-bg {
    background: #fff;
}
.custom-register-box {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 6px 32px rgba(0,0,0,0.09);
    width: 100%;
    max-width: 460px;
}
.custom-message-container {
    margin-bottom: 1rem;
}
/* .custom-alert, .custom-alert-success, .custom-alert-error moved to style.css */
.custom-register-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.custom-register-age {
    font-size: 1rem;
    color: #dc2626;
    text-align: center;
    margin-bottom: 1.5rem;
}
.custom-form-space > div {
    margin-bottom: 1.25rem;
}
.custom-form-space #registerStepOne > div,
.custom-boutique-step > div {
    margin-bottom: 1.25rem;
}
/* .custom-label, .custom-input moved to style.css */
/* Page-specific focus override */
.custom-register-box .custom-input:focus {
    box-shadow: 0 0 0 2px #ffe5cc;
}
.custom-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.custom-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}
.custom-radio-label-boutique {
    align-items: flex-start;
    line-height: 1.35;
}
.custom-radio-label-boutique .custom-radio {
    margin-top: 0.2rem;
}
.custom-radio {
    accent-color: #ff8000;
}
/* .custom-btn, .custom-btn-orange moved to style.css */
/* Page-specific overrides */
.custom-register-box .custom-btn {
    width: 100%;
    padding: 0.75rem 0;
}
.custom-register-box .custom-btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,128,0,0.12);
}
.custom-register-bottom {
    margin-top: 2rem;
    text-align: center;
}
.custom-register-login {
    font-size: 0.95rem;
    color: #6b7280;
}
.custom-link {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.custom-link-orange {
    color: #ff8000;
}
.custom-link-orange:hover {
    color: #e66a00;
}
.custom-hidden {
    display: none;
}

.custom-boutique-account-message {
    margin: 0.85rem 0 0;
    padding: 0.8rem 0.9rem;
    border-left: 3px solid #ff8000;
    border-radius: 0.45rem;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.9rem;
    line-height: 1.45;
}

.custom-boutique-step {
    padding: 1.1rem;
    border: 1px solid #fed7aa;
    border-radius: 0.85rem;
    background: #fffaf5;
}

.custom-boutique-step-header {
    margin-bottom: 1.25rem;
}

.custom-boutique-step-header span {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #ea580c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.custom-boutique-step-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 1.25rem;
}

.custom-boutique-step-header p,
.custom-field-help {
    margin: 0.45rem 0 0;
    color: #6b7280;
    font-size: 0.84rem;
    line-height: 1.45;
}

.custom-field-help-error {
    color: #dc2626;
}

.custom-register-textarea {
    width: 100%;
    resize: vertical;
}

.custom-shop-images-input {
    padding: 0.55rem;
    background: #fff;
}

.custom-shop-image-previews {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.custom-shop-image-previews img {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #fed7aa;
    border-radius: 0.45rem;
    object-fit: cover;
}

.custom-shop-services-field {
    padding-top: 0.15rem;
}

.custom-shop-service-options {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.custom-shop-service-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #fed7aa;
    border-radius: 0.6rem;
    background: #fff;
    color: #374151;
    cursor: pointer;
}

.custom-shop-service-option:hover {
    border-color: #fb923c;
    background: #fffaf5;
}

.custom-shop-service-option input {
    margin-top: 0.2rem;
    accent-color: #f97316;
}

.custom-shop-service-option strong,
.custom-shop-service-option small {
    display: block;
}

.custom-shop-service-option strong {
    font-size: 0.9rem;
}

.custom-shop-service-option small {
    margin-top: 0.12rem;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.35;
}

.custom-shop-coupon-agreement {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem;
    border-radius: 0.55rem;
    background: #ecfdf5;
    color: #065f46;
    font-size: 0.9rem;
    line-height: 1.4;
}

.custom-shop-coupon-agreement input {
    margin-top: 0.2rem;
    accent-color: #16a34a;
}

.custom-boutique-step-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.custom-boutique-step-actions .custom-btn {
    flex: 1;
}

.custom-btn-secondary {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

.custom-btn-secondary:hover {
    background: #f9fafb;
}

/* Styles pour les champs côte à côte */
.custom-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.custom-col {
    flex: 1;
    min-width: 0;
}

/* Responsive : empiler sur petits écrans */
@media (max-width: 480px) {
    .custom-register-box {
        padding: 1.25rem;
    }

    .custom-row {
        flex-direction: column;
        gap: 0;
    }
    
    .custom-col {
        width: 100%;
    }

    .custom-boutique-step-actions {
        flex-direction: column;
    }
}
