/* Main Wrapper - Container for loader positioning */
.shopinzen-integrator-wrap {
    position: relative;
    min-height: 400px;
}

/* Hero Section - Nouveau Design */
.shopinzen-hero {
    position: relative;
    background: #1a1a0e;
    padding: 100px 60px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shopinzen-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(139, 154, 62, 0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.shopinzen-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.shopinzen-hero-tag {
    color: #a4b350;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.shopinzen-hero-content h1 {
    color: white;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.shopinzen-hero-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 40px;
}

.shopinzen-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.shopinzen-btn-hero-primary {
    display: inline-block;
    padding: 16px 36px;
    background: #a4b350;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.shopinzen-btn-hero-primary:hover {
    background: #8b9a3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 154, 62, 0.4);
    color: white;
}

.shopinzen-btn-hero-secondary {
    display: inline-block;
    padding: 16px 36px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.shopinzen-btn-hero-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #333;
}

/* Conteneur principal */
.shopinzen-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* max-width: 1200px; */
    margin: 0 auto;
}

/* Onglets */
.shopinzen-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.shopinzen-tab {
    padding: 15px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.shopinzen-tab:hover {
    color: #8b9a3e;
}

.shopinzen-tab.active {
    color: #8b9a3e;
    border-bottom-color: #8b9a3e;
}

/* Contenu des onglets */
.shopinzen-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.shopinzen-tab-content.active {
    display: block;
}

.shopinzen-tab-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.shopinzen-tab-content p {
    color: #666;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Formulaires */
.shopinzen-form-group {
    margin-bottom: 20px;
}

.shopinzen-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.shopinzen-form-group input,
.shopinzen-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.shopinzen-form-group input:focus,
.shopinzen-form-group select:focus {
    outline: none;
    border-color: #8b9a3e;
    box-shadow: 0 0 0 3px rgba(139, 154, 62, 0.1);
}

/* Grille 2 colonnes */
.shopinzen-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.required {
    color: #e74c3c;
}

/* Boutons */
.shopinzen-btn-primary {
    background: #8b9a3e;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
}

.shopinzen-btn-primary:hover {
    background: #7a8835;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.shopinzen-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.shopinzen-btn-secondary {
    background: transparent;
    color: #8b9a3e;
    padding: 12px 30px;
    border: 2px solid #8b9a3e;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.shopinzen-btn-secondary:hover {
    background: #8b9a3e;
    color: white;
}

/* Password wrapper */
.shopinzen-password-wrapper {
    position: relative;
}

.shopinzen-password-wrapper input {
    padding-right: 45px !important;
}

.shopinzen-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 18px;
    padding: 0;
    transition: color 0.3s;
}

.shopinzen-toggle-password:hover {
    color: #8b9a3e;
}

/* Password requirements */
.shopinzen-password-requirements {
    list-style: none;
    padding: 10px;
    margin-top: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
}

.shopinzen-password-requirements li {
    color: #999;
    margin-bottom: 5px;
}

.shopinzen-password-requirements li.valid {
    color: #28a745;
}

.shopinzen-password-requirements li::before {
    content: "✗ ";
    margin-right: 5px;
}

.shopinzen-password-requirements li.valid::before {
    content: "✓ ";
}

/* Select styling */
.shopinzen-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"%3E%3Cpath fill="%238b9a3e" d="M1 1l5 5 5-5"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px !important;
    cursor: pointer;
    color: #333;
    background-color: white;
}

/* Loader */
.shopinzen-loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.shopinzen-loader.active {
    display: flex;
}

.shopinzen-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #8b9a3e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Force TOUS les selects à 100% */
select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
}

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

/* Responsive */
@media (max-width: 768px) {
    .shopinzen-hero {
        padding: 60px 20px;
    }

    .shopinzen-hero-content h1 {
        font-size: 32px;
    }

    .shopinzen-hero-desc {
        font-size: 15px;
    }

    .shopinzen-form-grid {
        grid-template-columns: 1fr;
    }

    .shopinzen-content {
        padding: 20px;
    }
}