/* =============================================
   GIV Registration Form - Frontend Styles
   Version: 3.3.0
   Gestione Iscritti powered by Giovanni Isidori per JaiHome
   ============================================= */

:root {
    --giv-primary: #416d69;
    --giv-primary-dark: #345855;
    --giv-primary-light: rgba(65, 109, 105, 0.1);
    --giv-primary-soft: rgba(65, 109, 105, 0.05);
    --giv-text: #333;
    --giv-text-light: #666;
    --giv-text-muted: #888;
    --giv-border: #e0e0e0;
    --giv-bg-light: #f9f9f9;
    --giv-bg-hover: #f0f0f0;
    --giv-success: #28a745;
    --giv-success-bg: #d4edda;
    --giv-success-border: #c3e6cb;
    --giv-success-text: #0a3622;
    --giv-error: #dc3545;
    --giv-error-bg: #f8d7da;
    --giv-error-border: #f5c6cb;
    --giv-warning: #856404;
    --giv-warning-bg: #fff3cd;
    --giv-warning-border: #ffeeba;
    --giv-info: #0c5460;
    --giv-info-bg: #d1ecf1;
    --giv-info-border: #bee5eb;
    --giv-radius: 8px;
    --giv-radius-lg: 12px;
    --giv-radius-xl: 16px;
    --giv-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --giv-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
    --giv-transition: 0.3s ease;
    --giv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* =============================================
   No Translate Class - Per Reference Number
   ============================================= */
.notranslate {
    /* Marker class per Google Translate - nessuna proprietà CSS necessaria */
}

/* Reference Number labels sempre in grassetto */
label .notranslate,
.giv-form-group label .notranslate,
th .notranslate,
strong .notranslate {
    font-weight: 700 !important;
}

/* =============================================
   Hide Footer for Logged Users
   (Gestito anche via PHP in hide_footer_for_logged_users)
   ============================================= */
body.logged-in .site-footer,
body.logged-in footer.footer,
body.logged-in #footer,
body.logged-in .footer,
body.logged-in #colophon,
body.logged-in .site-info,
body.logged-in .copyright,
body.logged-in .footer-copyright,
body.logged-in .site-credits {
    display: none !important;
}

/* =============================================
   Unauthorized Access Message (NUOVO v3.3.0)
   Per utenti non autorizzati alla visibilità
   ============================================= */
.giv-unauthorized-wrapper {
    max-width: 500px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: var(--giv-font);
}

.giv-unauthorized-box {
    background: #fff;
    border-radius: var(--giv-radius-xl);
    box-shadow: var(--giv-shadow-lg);
    padding: 40px;
    text-align: center;
}

.giv-unauthorized-icon {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1;
}

.giv-unauthorized-box h2 {
    color: var(--giv-text);
    margin: 0 0 15px;
    font-size: 24px;
    font-weight: 700;
}

.giv-unauthorized-box p {
    color: var(--giv-text-light);
    margin: 0 0 15px;
    line-height: 1.6;
    font-size: 15px;
}

.giv-unauthorized-actions {
    margin-top: 25px;
}

.giv-unauthorized-actions .giv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--giv-primary), var(--giv-primary-dark));
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--giv-radius);
    font-weight: 600;
    transition: all var(--giv-transition);
}

.giv-unauthorized-actions .giv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(65, 109, 105, 0.4);
}

.giv-unauthorized-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--giv-border);
    color: var(--giv-text-muted) !important;
}

.giv-unauthorized-footer small {
    color: var(--giv-text-muted);
}

/* =============================================
   Main Wrapper - Registration
   ============================================= */
.giv-registration-wrapper {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--giv-font);
}

.giv-form {
    background: #fff;
    border-radius: var(--giv-radius-xl);
    box-shadow: var(--giv-shadow-lg);
    overflow: hidden;
}

/* =============================================
   Progress Bar & Steps
   ============================================= */
.giv-progress {
    background: var(--giv-bg-light);
    padding: 30px 40px;
    border-bottom: 1px solid var(--giv-border);
}

.giv-progress-bar {
    height: 6px;
    background: var(--giv-border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 25px;
}

.giv-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--giv-primary), var(--giv-primary-dark));
    border-radius: 3px;
    transition: width 0.4s ease;
}

.giv-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.giv-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--giv-border);
    z-index: 1;
}

.giv-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--giv-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--giv-text-muted);
    position: relative;
    z-index: 2;
    transition: all var(--giv-transition);
}

.giv-step span {
    display: block;
}

.giv-step.active {
    background: var(--giv-primary);
    border-color: var(--giv-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(65, 109, 105, 0.4);
}

.giv-step.completed {
    background: var(--giv-primary);
    border-color: var(--giv-primary);
    color: #fff;
}

.giv-step.completed span {
    display: none;
}

.giv-step.completed::after {
    content: '✓';
    font-size: 16px;
    font-weight: bold;
}

.giv-step-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 5px;
}

.giv-step-label {
    font-size: 11px;
    color: var(--giv-text-muted);
    text-align: center;
    width: 70px;
    transition: color var(--giv-transition);
}

.giv-step-label.active {
    color: var(--giv-primary);
    font-weight: 600;
}

/* =============================================
   Form Steps Container
   ============================================= */
.giv-form-step {
    display: none;
    padding: 40px 50px;
    animation: fadeSlideIn 0.4s ease;
}

.giv-form-step.active {
    display: block;
}

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

/* =============================================
   Step Header
   ============================================= */
.giv-step-header {
    text-align: center;
    margin-bottom: 35px;
}

.giv-step-icon {
    width: 80px;
    height: 80px;
    background: var(--giv-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.giv-step-icon svg {
    color: var(--giv-primary);
}

.giv-step-header h3 {
    font-size: 26px;
    color: var(--giv-text);
    margin: 0 0 10px;
    font-weight: 700;
}

.giv-step-header p {
    font-size: 15px;
    color: var(--giv-text-light);
    margin: 0;
    line-height: 1.6;
    max-width: 450px;
    margin: 0 auto;
}

/* =============================================
   Step 1: Role Selection
   ============================================= */
.giv-role-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 10px;
}

.giv-role-card {
    cursor: pointer;
    position: relative;
}

.giv-role-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.giv-role-content {
    background: #fff;
    border: 2px solid var(--giv-border);
    border-radius: var(--giv-radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: all var(--giv-transition);
    position: relative;
    overflow: hidden;
}

.giv-role-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--giv-primary);
    transform: scaleX(0);
    transition: transform var(--giv-transition);
}

.giv-role-card:hover .giv-role-content {
    border-color: var(--giv-primary);
    box-shadow: var(--giv-shadow);
    transform: translateY(-3px);
}

.giv-role-card input:checked + .giv-role-content,
.giv-role-card.selected .giv-role-content {
    border-color: var(--giv-primary);
    background: var(--giv-primary-soft);
    box-shadow: var(--giv-shadow-lg);
}

.giv-role-card input:checked + .giv-role-content::before,
.giv-role-card.selected .giv-role-content::before {
    transform: scaleX(1);
}

.giv-role-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--giv-primary-light);
    border-radius: 50%;
    transition: all var(--giv-transition);
}

.giv-role-icon-wrapper svg {
    color: var(--giv-primary);
    transition: all var(--giv-transition);
}

.giv-role-card:hover .giv-role-icon-wrapper {
    background: var(--giv-primary);
    transform: scale(1.05);
}

.giv-role-card:hover .giv-role-icon-wrapper svg {
    color: #fff;
}

.giv-role-card input:checked + .giv-role-content .giv-role-icon-wrapper,
.giv-role-card.selected .giv-role-content .giv-role-icon-wrapper {
    background: var(--giv-primary);
    transform: scale(1.1);
}

.giv-role-card input:checked + .giv-role-content .giv-role-icon-wrapper svg,
.giv-role-card.selected .giv-role-content .giv-role-icon-wrapper svg {
    color: #fff;
}

.giv-role-icon {
    display: none !important;
}

.giv-role-badge {
    display: none !important;
}

.giv-role-content strong {
    display: block;
    font-size: 22px;
    color: var(--giv-text);
    margin-bottom: 12px;
    font-weight: 700;
}

.giv-role-content p {
    font-size: 14px;
    color: var(--giv-text-light);
    margin: 0;
    line-height: 1.6;
}

.giv-role-info {
    background: var(--giv-primary-light);
    border-radius: var(--giv-radius);
    padding: 18px 22px;
    margin-top: 25px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.giv-role-info-icon {
    flex-shrink: 0;
    color: var(--giv-primary);
    margin-top: 2px;
}

.giv-role-info-icon svg {
    display: block;
}

.giv-role-info p {
    margin: 0;
    font-size: 14px;
    color: var(--giv-text);
    line-height: 1.5;
}

/* =============================================
   Form Groups
   ============================================= */
.giv-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.giv-form-group {
    margin-bottom: 24px;
}

.giv-form-group.full-width {
    grid-column: span 2;
}

.giv-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--giv-text);
}

.giv-form-group label small {
    font-weight: 400;
    color: var(--giv-text-muted);
}

.giv-form-group input[type="text"],
.giv-form-group input[type="email"],
.giv-form-group input[type="password"],
.giv-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--giv-border);
    border-radius: var(--giv-radius);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--giv-transition);
    box-sizing: border-box;
    background: #fff;
}

.giv-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.giv-form-group input:hover,
.giv-form-group textarea:hover {
    border-color: #ccc;
}

.giv-form-group input:focus,
.giv-form-group textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--giv-primary) !important;
    border-left: 4px solid var(--giv-primary) !important;
    box-shadow: 0 0 0 4px var(--giv-primary-light);
}

.giv-form-group input::placeholder,
.giv-form-group textarea::placeholder {
    color: #bbb;
}

.giv-form-group.has-error input,
.giv-form-group.has-error textarea,
input.error,
input.is-invalid {
    border-color: var(--giv-error) !important;
    border-left: 4px solid var(--giv-error) !important;
    background: #fff5f5;
}

.giv-form-group.has-error input:focus,
.giv-form-group.has-error textarea:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.giv-form-group.is-valid input,
input.success,
input.is-valid {
    border-color: var(--giv-success) !important;
    border-left: 4px solid var(--giv-success) !important;
    background: #f8fff9;
}

.giv-field-error {
    display: block;
    color: var(--giv-error);
    font-size: 12px;
    margin-top: 6px;
    padding-left: 2px;
}

.giv-field-hint {
    display: block;
    font-size: 12px;
    color: var(--giv-text-muted);
    margin-top: 6px;
    padding-left: 2px;
}

/* =============================================
   Password Field
   ============================================= */
.giv-password-wrapper {
    position: relative;
}

.giv-password-wrapper input {
    padding-right: 50px !important;
}

.giv-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--giv-text-muted);
    transition: color var(--giv-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.giv-password-toggle:hover {
    color: var(--giv-primary);
}

.giv-password-toggle:focus {
    outline: none;
}

.giv-password-toggle.is-visible {
    color: var(--giv-primary);
}

.giv-password-toggle .giv-eye-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.giv-password-toggle .giv-eye-icon svg {
    width: 20px;
    height: 20px;
}

.giv-password-strength {
    margin-top: 10px;
}

.giv-strength-bar-bg {
    height: 4px;
    background: var(--giv-border);
    border-radius: 2px;
    overflow: hidden;
}

.giv-strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all var(--giv-transition);
}

.giv-strength-bar.weak { width: 25%; background: #dc3545; }
.giv-strength-bar.fair { width: 50%; background: #fd7e14; }
.giv-strength-bar.good { width: 75%; background: #ffc107; }
.giv-strength-bar.strong { width: 100%; background: #28a745; }

.giv-strength-text {
    font-size: 11px;
    margin-top: 4px;
    text-align: right;
}

.giv-strength-text.weak { color: #dc3545; }
.giv-strength-text.fair { color: #fd7e14; }
.giv-strength-text.good { color: #ffc107; }
.giv-strength-text.strong { color: #28a745; }

/* =============================================
   Checkboxes
   ============================================= */
.giv-checkbox-group {
    margin-top: 25px;
}

.giv-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 12px 15px;
    background: var(--giv-bg-light);
    border-radius: var(--giv-radius);
    margin-bottom: 10px;
    transition: background var(--giv-transition);
}

.giv-checkbox:hover {
    background: var(--giv-bg-hover);
}

.giv-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    accent-color: var(--giv-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.giv-checkbox span {
    font-size: 14px;
    color: var(--giv-text);
    line-height: 1.5;
}

.giv-checkbox a {
    color: var(--giv-primary);
    text-decoration: underline;
    font-weight: 500;
}

.giv-checkbox a:hover {
    color: var(--giv-primary-dark);
}

/* =============================================
   Summary (Step 4)
   ============================================= */
.giv-summary {
    background: var(--giv-bg-light);
    border-radius: var(--giv-radius-lg);
    overflow: hidden;
    margin-bottom: 25px;
}

.giv-summary-header {
    background: var(--giv-primary);
    color: #fff;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.giv-summary-body {
    padding: 5px 0;
}

.giv-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid var(--giv-border);
}

.giv-summary-item:last-child {
    border-bottom: none;
}

.giv-summary-label {
    font-size: 14px;
    color: var(--giv-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.giv-summary-label .icon {
    font-size: 16px;
}

.giv-summary-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--giv-text);
    text-align: right;
}

/* =============================================
   Info & Warning Boxes
   ============================================= */
.giv-info-box {
    background: var(--giv-primary-light);
    border-left: 4px solid var(--giv-primary);
    border-radius: 0 var(--giv-radius) var(--giv-radius) 0;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.giv-info-box .icon {
    flex-shrink: 0;
    color: var(--giv-primary);
}

.giv-info-box .icon svg {
    display: block;
}

.giv-info-box-content h4 {
    margin: 0 0 5px;
    font-size: 15px;
    color: var(--giv-text);
}

.giv-info-box-content p {
    margin: 0;
    font-size: 14px;
    color: var(--giv-text-light);
    line-height: 1.5;
}

.giv-warning-box {
    background: var(--giv-warning-bg);
    border-left: 4px solid #ffc107;
    border-radius: 0 var(--giv-radius) var(--giv-radius) 0;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.giv-warning-box p {
    margin: 0;
    font-size: 13px;
    color: var(--giv-warning);
}

/* =============================================
   Navigation Buttons
   ============================================= */
.giv-form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--giv-border);
    gap: 15px;
}

.giv-btn {
    padding: 15px 35px;
    border: none;
    border-radius: var(--giv-radius);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--giv-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    min-height: 52px;
}

.giv-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.giv-btn-prev {
    background: #fff;
    color: var(--giv-text);
    border: 2px solid var(--giv-border);
}

.giv-btn-prev:hover:not(:disabled) {
    background: var(--giv-bg-light);
    border-color: #ccc;
}

.giv-btn-prev .arrow {
    transition: transform var(--giv-transition);
}

.giv-btn-prev:hover .arrow {
    transform: translateX(-3px);
}

.giv-btn-next,
.giv-btn-submit {
    background: linear-gradient(135deg, var(--giv-primary), var(--giv-primary-dark));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(65, 109, 105, 0.3);
}

.giv-btn-next:hover:not(:disabled),
.giv-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(65, 109, 105, 0.4);
}

.giv-btn-next .arrow {
    transition: transform var(--giv-transition);
}

.giv-btn-next:hover .arrow {
    transform: translateX(3px);
}

.giv-btn-submit {
    min-width: 200px;
}

.giv-btn-primary {
    background: linear-gradient(135deg, var(--giv-primary), var(--giv-primary-dark));
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(65, 109, 105, 0.3);
}

.giv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(65, 109, 105, 0.4);
    color: #fff !important;
}

.giv-btn-secondary {
    background: #fff;
    color: var(--giv-text) !important;
    border: 2px solid var(--giv-border);
    text-decoration: none !important;
}

.giv-btn-secondary:hover {
    background: var(--giv-bg-light);
    border-color: #ccc;
    color: var(--giv-text) !important;
}

.giv-btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.giv-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.giv-nav-spacer {
    flex: 1;
}

/* =============================================
   Messages
   ============================================= */
.giv-message {
    padding: 30px 40px;
    text-align: center;
    border-radius: var(--giv-radius-xl);
    margin: 20px;
}

.giv-message h3 {
    margin: 0 0 15px;
    font-size: 24px;
}

.giv-message p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.6;
}

.giv-message p:last-child {
    margin-bottom: 0;
}

.giv-success {
    background: var(--giv-success-bg);
    border: 1px solid var(--giv-success-border);
}

.giv-success h3 {
    color: var(--giv-success);
}

.giv-success p {
    color: #155724;
}

.giv-error {
    background: var(--giv-error-bg);
    border: 1px solid var(--giv-error-border);
}

.giv-error h3 {
    color: var(--giv-error);
}

.giv-error p {
    color: #721c24;
}

.giv-info {
    background: var(--giv-info-bg);
    border: 1px solid var(--giv-info-border);
}

.giv-info h3 {
    color: var(--giv-info);
}

.giv-info p {
    color: var(--giv-info);
}

.giv-notice {
    background: var(--giv-warning-bg);
    border: 1px solid var(--giv-warning-border);
    color: var(--giv-warning);
    padding: 20px;
    border-radius: var(--giv-radius);
    text-align: center;
}

/* =============================================
   Success Actions
   ============================================= */
.giv-success-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--giv-success-border);
}

.giv-btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--giv-primary);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: var(--giv-radius);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--giv-transition);
    border: none;
}

.giv-btn-home:hover {
    background: var(--giv-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(65, 109, 105, 0.3);
    color: #fff !important;
}

/* =============================================
   Toast Notifications
   ============================================= */
.giv-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 380px;
    padding: 16px 20px;
    border-radius: var(--giv-radius);
    background: #333;
    color: #fff;
    box-shadow: var(--giv-shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100000;
    transform: translateX(calc(100% + 30px));
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.giv-toast.show {
    transform: translateX(0);
}

.giv-toast-error {
    background: var(--giv-error);
}

.giv-toast-success {
    background: var(--giv-success);
}

.giv-toast-info {
    background: var(--giv-primary);
}

.giv-toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.giv-toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.giv-toast-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--giv-transition);
}

.giv-toast-close:hover {
    background: rgba(255,255,255,0.3);
}

/* =============================================
   Delete Account Page
   ============================================= */
.giv-delete-account-wrapper {
    max-width: 540px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--giv-font);
}

.giv-delete-account-box {
    background: #fff;
    border: 2px solid var(--giv-error-border);
    border-radius: var(--giv-radius-xl);
    padding: 35px 40px;
    box-shadow: var(--giv-shadow-lg);
}

.giv-delete-account-box h3 {
    color: var(--giv-error);
    margin: 0 0 20px;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.giv-delete-warning {
    background: var(--giv-error-bg);
    border-radius: var(--giv-radius);
    padding: 15px;
    margin: 20px 0;
}

.giv-delete-warning p {
    margin: 0;
    color: var(--giv-error);
    font-size: 14px;
}

.giv-delete-confirm {
    margin: 25px 0;
}

.giv-delete-password {
    margin-bottom: 25px;
}

.giv-delete-password label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.giv-delete-password .giv-password-wrapper {
    position: relative;
}

.giv-delete-password .giv-password-wrapper input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 2px solid var(--giv-border);
    border-radius: var(--giv-radius);
    font-size: 15px;
    box-sizing: border-box;
}

.giv-delete-password .giv-password-wrapper input:focus {
    outline: none;
    border-color: var(--giv-error);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.giv-delete-password .giv-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--giv-text-muted);
    transition: color var(--giv-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.giv-delete-password .giv-password-toggle:hover {
    color: var(--giv-error);
}

.giv-delete-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.giv-btn-cancel {
    background: var(--giv-bg-light);
    color: var(--giv-text);
    border: 2px solid var(--giv-border);
}

.giv-btn-cancel:hover {
    background: var(--giv-bg-hover);
}

.giv-btn-delete {
    background: var(--giv-error);
    color: #fff;
}

.giv-btn-delete:hover:not(:disabled) {
    background: #c82333;
}

/* =============================================
   LOGIN FORM STYLES
   ============================================= */
.giv-login-wrapper {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--giv-font);
    box-sizing: border-box;
}

.giv-login-box {
    background: #fff;
    border-radius: var(--giv-radius-xl);
    box-shadow: var(--giv-shadow-lg);
    overflow: hidden;
}

/* Login Tabs */
.giv-login-tabs {
    display: flex;
    background: var(--giv-bg-light);
    border-bottom: 1px solid var(--giv-border);
}

.giv-login-tab {
    flex: 1;
    padding: 18px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--giv-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--giv-transition);
    position: relative;
}

.giv-login-tab:hover {
    color: var(--giv-primary);
    background: rgba(65, 109, 105, 0.05);
}

.giv-login-tab.active {
    color: var(--giv-primary);
    background: #fff;
}

.giv-login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--giv-primary);
}

.giv-login-tab .tab-icon {
    font-size: 18px;
}

.giv-login-tab .tab-text {
    display: inline;
}

/* Tab Content - Senza cornice interna */
.giv-login-tab-content {
    display: none;
    padding: 40px 50px;
    background: #fff;
}

.giv-login-tab-content.active {
    display: block;
    animation: fadeSlideIn 0.3s ease;
}

/* Form interno - Nessuna cornice aggiuntiva */
.giv-login-tab-content .giv-form,
#giv-tab-login .giv-form,
#giv-tab-password .giv-form,
#giv-tab-support .giv-form {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0;
}

/* Form Header - Login */
.giv-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
    border: none;
}

.giv-form-icon {
    width: 80px;
    height: 80px;
    background: var(--giv-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.giv-form-icon svg {
    color: var(--giv-primary);
}

.giv-form-icon-small {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.giv-form-icon-small svg {
    width: 40px;
    height: 40px;
}

.giv-form-header h3 {
    font-size: 26px;
    color: var(--giv-text);
    margin: 0 0 10px;
    font-weight: 700;
}

.giv-form-header p {
    font-size: 15px;
    color: var(--giv-text-light);
    margin: 0;
    line-height: 1.6;
    max-width: 450px;
    margin: 0 auto;
}

/* Full Width Button */
.giv-btn-full {
    width: 100%;
    margin-top: 10px;
}

/* Remember Me */
.giv-remember-me {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.giv-remember-me:hover {
    background: transparent !important;
}

/* Register Link */
.giv-register-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--giv-border);
}

.giv-register-link a {
    color: var(--giv-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--giv-transition);
}

.giv-register-link a:hover {
    color: var(--giv-primary-dark);
    text-decoration: underline;
}

/* Already Logged In */
.giv-already-logged {
    text-align: center;
    padding: 40px 50px;
    background: #fff;
    border-radius: var(--giv-radius-xl);
    box-shadow: var(--giv-shadow-lg);
    max-width: 720px;
    margin: 0 auto;
}

.giv-already-logged .giv-message {
    margin: 0;
    padding: 30px;
    border-radius: var(--giv-radius-lg);
}

.giv-already-logged .giv-message.giv-info {
    background: var(--giv-info-bg);
    border: 1px solid var(--giv-info-border);
}

.giv-already-logged .giv-message h3 {
    color: var(--giv-info);
    font-size: 24px;
    margin: 0 0 15px;
}

.giv-already-logged .giv-message p {
    color: var(--giv-info);
    margin: 0 0 10px;
}

.giv-logged-icon {
    display: none;
}

.giv-logged-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--giv-info-border);
}

/* Login Message Container */
#giv-login-message,
#giv-cp-message,
#giv-support-message {
    margin-top: 20px;
    border-radius: var(--giv-radius);
    padding: 15px 20px;
    text-align: left;
    background: transparent;
}

#giv-login-message:empty,
#giv-cp-message:empty,
#giv-support-message:empty {
    display: none;
}

#giv-login-message p,
#giv-cp-message p,
#giv-support-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

#giv-login-message.giv-success,
#giv-cp-message.giv-success,
#giv-support-message.giv-success {
    background: var(--giv-success-bg);
    border: 1px solid var(--giv-success-border);
    text-align: center;
}

#giv-login-message.giv-error,
#giv-cp-message.giv-error,
#giv-support-message.giv-error {
    background: var(--giv-error-bg);
    border: 1px solid var(--giv-error-border);
}

/* =============================================
   SUPPORT FORM - HORIZONTAL LAYOUT
   ============================================= */
.giv-support-form-horizontal {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.giv-support-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.giv-support-field {
    margin-bottom: 0 !important;
}

.giv-support-form-horizontal .giv-form-group:last-of-type {
    margin-bottom: 20px;
}

.giv-support-form-horizontal textarea {
    min-height: 120px;
}

/* =============================================
   SUBSCRIPTION STATUS WIDGET
   ============================================= */
.giv-subscription-widget {
    background: #fff;
    border-radius: var(--giv-radius-lg);
    box-shadow: var(--giv-shadow);
    overflow: hidden;
    font-family: var(--giv-font);
    max-width: 400px;
}

.giv-subscription-widget.giv-not-logged {
    padding: 25px;
    text-align: center;
    color: var(--giv-text-muted);
}

.giv-subscription-header {
    background: var(--giv-success-bg);
    color: var(--giv-success-text);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.giv-subscription-icon {
    font-size: 24px;
}

.giv-subscription-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--giv-success-text);
}

.giv-subscription-body {
    padding: 20px;
}

.giv-subscription-status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.giv-subscription-status-badge.active {
    background: var(--giv-success-bg);
    color: #155724;
}

.giv-subscription-status-badge.expiring {
    background: var(--giv-warning-bg);
    color: var(--giv-warning);
}

.giv-subscription-status-badge.expired {
    background: var(--giv-error-bg);
    color: #721c24;
}

.giv-subscription-info {
    border-top: 1px solid var(--giv-border);
    padding-top: 15px;
}

.giv-subscription-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.giv-subscription-label {
    color: var(--giv-text-muted);
    font-size: 14px;
}

.giv-subscription-value {
    font-weight: 600;
    color: var(--giv-text);
    font-size: 14px;
}

/* Widget colore bordo in base allo stato */
.giv-subscription-widget.giv-status-active {
    border-top: 4px solid var(--giv-success);
}

.giv-subscription-widget.giv-status-expiring {
    border-top: 4px solid #ffc107;
}

.giv-subscription-widget.giv-status-expired {
    border-top: 4px solid var(--giv-error);
}

/* =============================================
   PAYMENT HISTORY WIDGET
   ============================================= */
.giv-payment-history-widget {
    background: #fff;
    border-radius: var(--giv-radius-lg);
    box-shadow: var(--giv-shadow);
    overflow: hidden;
    font-family: var(--giv-font);
    max-width: 400px;
}

.giv-payment-history-widget.giv-not-logged {
    padding: 25px;
    text-align: center;
    color: var(--giv-text-muted);
}

.giv-payment-history-header {
    background: var(--giv-success-bg);
    color: var(--giv-success-text);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.giv-payment-history-icon {
    font-size: 24px;
}

.giv-payment-history-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--giv-success-text);
}

.giv-payment-history-body {
    padding: 20px;
}

.giv-no-payments {
    color: var(--giv-text-muted);
    text-align: center;
    font-size: 14px;
    margin: 0;
}

.giv-payment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.giv-payment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--giv-border);
}

.giv-payment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.giv-payment-item:first-child {
    padding-top: 0;
}

.giv-payment-year {
    font-size: 18px;
    font-weight: 700;
    color: var(--giv-primary);
    min-width: 50px;
}

.giv-payment-check {
    width: 24px;
    height: 24px;
    background: var(--giv-success);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.giv-payment-date {
    font-size: 13px;
    color: var(--giv-text-muted);
}

/* =============================================
   Animations
   ============================================= */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.shake {
    animation: shake 0.4s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 0.3s ease-in-out;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 720px) {
    .giv-registration-wrapper,
    .giv-login-wrapper {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .giv-form-step,
    .giv-login-tab-content {
        padding: 30px 25px;
    }
    
    .giv-progress {
        padding: 20px 25px;
    }
    
    .giv-login-box,
    .giv-already-logged {
        border-radius: var(--giv-radius-lg);
    }
    
    .giv-unauthorized-wrapper {
        margin: 30px auto;
    }
    
    .giv-unauthorized-box {
        padding: 30px 25px;
    }
}

@media (max-width: 600px) {
    .giv-progress {
        padding: 20px;
    }
    
    .giv-steps::before {
        left: 25px;
        right: 25px;
    }
    
    .giv-step {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
    
    .giv-step-labels {
        display: none;
    }
    
    .giv-form-step,
    .giv-login-tab-content {
        padding: 25px 20px;
    }
    
    .giv-step-header h3,
    .giv-form-header h3 {
        font-size: 22px;
    }
    
    .giv-step-icon,
    .giv-form-icon {
        width: 70px;
        height: 70px;
    }
    
    .giv-step-icon svg,
    .giv-form-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .giv-form-icon-small {
        width: 70px;
        height: 70px;
    }
    
    .giv-form-icon-small svg {
        width: 35px;
        height: 35px;
    }
    
    .giv-role-selection {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .giv-role-content {
        padding: 30px 20px;
    }
    
    .giv-role-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .giv-role-icon-wrapper svg {
        width: 48px;
        height: 48px;
    }
    
    .giv-role-content strong {
        font-size: 20px;
    }
    
    .giv-form-row {
        grid-template-columns: 1fr;
    }
    
    .giv-form-group.full-width {
        grid-column: span 1;
    }
    
    .giv-form-nav {
        flex-direction: column-reverse;
    }
    
    .giv-btn {
        width: 100%;
    }
    
    .giv-nav-spacer {
        display: none;
    }
    
    .giv-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .giv-summary-value {
        text-align: left;
    }
    
    .giv-delete-actions {
        flex-direction: column;
    }
    
    .giv-toast {
        left: 15px;
        right: 15px;
        max-width: none;
    }
    
    .giv-success-actions {
        text-align: center;
    }
    
    .giv-btn-home {
        width: 100%;
        justify-content: center;
    }
    
    /* Login responsive */
    .giv-login-wrapper {
        padding: 0 10px;
    }
    
    .giv-login-box {
        border-radius: var(--giv-radius);
    }
    
    .giv-login-tabs {
        flex-wrap: wrap;
    }
    
    .giv-login-tab {
        padding: 14px 10px;
        font-size: 12px;
        flex: 1 1 33.33%;
        min-width: 0;
    }
    
    .giv-login-tab .tab-icon {
        font-size: 16px;
    }
    
    .giv-login-tab .tab-text {
        display: none;
    }
    
    .giv-logged-actions {
        flex-direction: column;
    }
    
    .giv-logged-actions .giv-btn {
        width: 100%;
    }
    
    /* Support form responsive */
    .giv-support-fields-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .giv-support-field {
        margin-bottom: 20px !important;
    }
    
    /* Widget responsive */
    .giv-subscription-widget,
    .giv-payment-history-widget {
        max-width: 100%;
    }
    
    /* Unauthorized responsive */
    .giv-unauthorized-wrapper {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .giv-unauthorized-box {
        padding: 25px 20px;
    }
    
    .giv-unauthorized-icon {
        font-size: 48px;
    }
    
    .giv-unauthorized-box h2 {
        font-size: 20px;
    }
    
    /* Form groups responsive */
    .giv-form-group input[type="text"],
    .giv-form-group input[type="email"],
    .giv-form-group input[type="password"],
    .giv-form-group textarea {
        padding: 12px 14px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .giv-btn {
        padding: 14px 20px;
        font-size: 15px;
        min-height: 48px;
    }
    
    /* Already logged responsive */
    .giv-already-logged {
        padding: 25px 20px;
    }
}

@media (max-width: 400px) {
    .giv-step-header h3,
    .giv-form-header h3 {
        font-size: 20px;
    }
    
    .giv-role-content {
        padding: 20px 15px;
    }
    
    .giv-role-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .giv-role-icon-wrapper svg {
        width: 40px;
        height: 40px;
    }
    
    .giv-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .giv-login-tab-content {
        padding: 15px 12px;
    }
    
    .giv-form-header {
        margin-bottom: 20px;
    }
    
    .giv-form-group {
        margin-bottom: 18px;
    }
    
    .giv-form-group label {
        font-size: 13px;
    }
    
    .giv-unauthorized-box {
        padding: 20px 15px;
    }
    
    .giv-unauthorized-icon {
        font-size: 40px;
    }
    
    .giv-unauthorized-box h2 {
        font-size: 18px;
    }
}

/* =============================================
   Accessibility
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .giv-form-step,
    .giv-login-tab-content {
        animation: none;
    }
}

.giv-btn:focus-visible,
.giv-form-group input:focus-visible,
.giv-form-group textarea:focus-visible,
.giv-checkbox input:focus-visible,
.giv-role-card input:focus-visible + .giv-role-content,
.giv-login-tab:focus-visible,
.giv-password-toggle:focus-visible,
.giv-toast-close:focus-visible {
    outline: 3px solid var(--giv-primary);
    outline-offset: 2px;
}

/* =============================================
   High Contrast Mode Support
   ============================================= */
@media (prefers-contrast: high) {
    .giv-form,
    .giv-login-box,
    .giv-delete-account-box,
    .giv-already-logged,
    .giv-subscription-widget,
    .giv-payment-history-widget,
    .giv-unauthorized-box {
        border: 2px solid var(--giv-text);
    }
    
    .giv-btn {
        border: 2px solid currentColor;
    }
    
    .giv-form-group input,
    .giv-form-group textarea {
        border-width: 3px;
    }
    
    .giv-role-content {
        border-width: 3px;
    }
}

/* =============================================
   Print Styles
   ============================================= */
@media print {
    .giv-registration-wrapper,
    .giv-login-wrapper,
    .giv-delete-account-wrapper {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .giv-form,
    .giv-login-box,
    .giv-delete-account-box,
    .giv-unauthorized-box {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .giv-btn,
    .giv-form-nav,
    .giv-login-tabs,
    .giv-toast,
    .giv-password-toggle {
        display: none !important;
    }
    
    .giv-progress {
        background: #fff;
        border-bottom: 1px solid #000;
    }
}

/* === CAMPI PIÙ STRETTI === */
.giv-login-box,
.giv-form {
    max-width: 650px !important;
}

.giv-form-group {
    max-width: 100% !important;
}

/* Textarea più compatta */
.giv-form-group textarea {
    min-height: 100px !important;
    padding: 12px 14px !important;
}


/* =============================================
   UNIFORMAZIONE LOGIN → REGISTRATION STEPS 2-3
   v3.3.1 - Patch uniformazione grafica
   ============================================= */

/* Uniforma margin-bottom dell'header login verso registration */
.giv-login-tab-content .giv-form-header {
    margin-bottom: 35px !important; /* Da 30px → 35px per allineamento step 2-3 */
}

/* Assicura consistenza padding header registrazione */
.giv-step-header {
    padding: 0;
    background: transparent;
    border: none;
}

/* Uniforma dimensione icone piccole */
.giv-form-icon-small svg {
    width: 40px;
    height: 40px;
}

/* Uniforma stati focus per tutti gli input (login + registration) */
.giv-login-tab-content input[type="text"]:focus,
.giv-login-tab-content input[type="email"]:focus,
.giv-login-tab-content input[type="password"]:focus,
.giv-login-tab-content textarea:focus,
.giv-form-step input[type="text"]:focus,
.giv-form-step input[type="email"]:focus,
.giv-form-step input[type="password"]:focus,
.giv-form-step textarea:focus {
    outline: none;
    border-color: var(--giv-primary) !important;
    border-left: 4px solid var(--giv-primary) !important;
    box-shadow: 0 0 0 4px var(--giv-primary-light);
}

/* Uniforma padding campi input */
.giv-login-tab-content .giv-form-group input,
.giv-login-tab-content .giv-form-group textarea,
.giv-form-step .giv-form-group input,
.giv-form-step .giv-form-group textarea {
    padding: 12px 14px;
}

/* Uniforma spacing form groups */
.giv-login-tab-content .giv-form-group,
.giv-form-step .giv-form-group {
    margin-bottom: 24px;
}

/* Uniforma label styling */
.giv-login-tab-content .giv-form-group label,
.giv-form-step .giv-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--giv-text);
}

/* Uniforma stati errore */
.giv-login-tab-content .giv-form-group.has-error input,
.giv-login-tab-content .giv-form-group.has-error textarea,
.giv-form-step .giv-form-group.has-error input,
.giv-form-step .giv-form-group.has-error textarea {
    border-color: var(--giv-error) !important;
    border-left: 4px solid var(--giv-error) !important;
    background: #fff5f5;
}

/* Uniforma stati validi */
.giv-login-tab-content .giv-form-group.is-valid input,
.giv-form-step .giv-form-group.is-valid input {
    border-color: var(--giv-success) !important;
    border-left: 4px solid var(--giv-success) !important;
    background: #f8fff9;
}



/* ============================================================================
   Checkbox Kriyaban - Step 2 Registration
   ============================================================================ */
.giv-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 0 8px 0;
    transition: all 0.2s ease;
}

.giv-checkbox-label:hover {
    opacity: 0.8;
}

.giv-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--giv-primary, #2271b1);
    margin: 0;
}

.giv-checkbox-label span {
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
    user-select: none;
}

/* Hint giv-role-info dopo checkbox ha margin ridotto */
.giv-checkbox-label + .giv-role-info {
    margin-top: 12px;
}


/* ============================================================================
   Checkbox Kriyaban - Step 2 Registration
   ============================================================================ */
.giv-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 0 8px 0;
    transition: all 0.2s ease;
}

.giv-checkbox-label:hover {
    opacity: 0.8;
}

.giv-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--giv-primary, #2271b1);
    margin: 0;
}

.giv-checkbox-label span {
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
    user-select: none;
}

/* Hint giv-role-info dopo checkbox */
.giv-checkbox-label + .giv-role-info {
    margin-top: 12px;
}
