/* ═══════════════════════════════════════════════════════
   Joticle Public Site CSS — LOCKED ZONE
   Pixel-perfect preservation of public-facing pages
   DO NOT MODIFY without explicit approval
   ═══════════════════════════════════════════════════════ */

/* ─── Base (from site.css) ─── */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ─── Homepage (Index.cshtml) ─── */
.public-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.public-admin-login {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e2e8f0;
}

.public-admin-login:hover {
    color: #1e3a5f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.public-admin-login i {
    font-size: 1.125rem;
}

.public-hero-section {
    max-width: 1600px;
    margin: 2rem auto 2rem;
    padding: 0 2rem;
}

.public-hero-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
}

.public-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.public-hero-logo {
    margin-bottom: 1.25rem;
    animation: fadeInDown 1s ease-out;
}

.public-hero-logo img {
    height: 120px;
    max-width: 500px;
}

.public-hero-headline {
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.public-hero-subheadline {
    font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
    color: #475569;
    max-width: 750px;
    margin: 0 auto 1.25rem;
    line-height: 1.5;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.public-hero-subheadline strong {
    font-weight: 600;
}

.public-value-props {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.public-value-pill {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    border: 2px solid;
}

.public-value-pill i {
    font-size: 1.125rem;
}

.public-value-pill span {
    font-weight: 600;
    font-size: 0.9375rem;
}

.public-pill-blue {
    background: #f0f9ff;
    border-color: #3b82f6;
}

.public-pill-blue i { color: #3b82f6; }
.public-pill-blue span { color: #1e3a8a; }

.public-pill-pink {
    background: #fce7f3;
    border-color: #ec4899;
}

.public-pill-pink i { color: #ec4899; }
.public-pill-pink span { color: #9f1239; }

.public-pill-amber {
    background: #fef3c7;
    border-color: #f59e0b;
}

.public-pill-amber i { color: #f59e0b; }
.public-pill-amber span { color: #92400e; }

/* ─── Products Section ─── */
.public-products {
    padding: 3rem 2rem 6rem;
}

.public-products-inner {
    max-width: 1600px;
    margin: 0 auto;
}

.public-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .public-products-grid {
        grid-template-columns: 1fr;
    }
}

.public-product-wrapper {
    position: relative;
    display: flex;
}

.public-product-wrapper-anim-left {
    animation: fadeInLeft 0.8s ease-out;
}

.public-product-wrapper-anim-right {
    animation: fadeInRight 0.8s ease-out;
}

.public-product-wrapper-anim-up {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.public-product-card {
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.public-product-card:hover {
    transform: translateY(-8px);
}

.public-product-card-blue {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.12);
    border: 2px solid #bae6fd;
}

.public-product-card-blue:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

.public-product-card-purple {
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.12);
    border: 2px solid #e9d5ff;
}

.public-product-card-purple:hover {
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.public-product-card-green {
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.12);
    border: 2px solid #a7f3d0;
}

.public-product-card-green:hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
}

.public-product-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.public-product-logo {
    margin-bottom: 1.5rem;
    text-align: center;
}

.public-product-logo img {
    height: 144px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
}

.public-product-logo-sm img {
    height: 120px;
}

.public-product-logo .emoji {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.public-product-logo h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.public-product-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.public-subtitle-blue { color: #3b82f6; }
.public-subtitle-purple { color: #8b5cf6; }
.public-subtitle-green { color: #10b981; }
.public-product-logo h2.public-h2-green { color: #059669; }

.public-product-description {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    min-height: 90px;
}

.public-product-description strong.blue { color: #2563eb; }
.public-product-description strong.purple { color: #7c3aed; }
.public-product-description strong.green { color: #059669; }

.public-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex: 1;
}

.public-feature-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border-left: 3px solid;
}

.public-feature-item i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.public-feature-item span {
    color: #1e293b;
    font-weight: 500;
    font-size: 0.9375rem;
}

.public-feature-blue {
    background: rgba(59, 130, 246, 0.08);
    border-left-color: #3b82f6;
}

.public-feature-blue i { color: #3b82f6; }

.public-feature-purple {
    background: rgba(139, 92, 246, 0.08);
    border-left-color: #8b5cf6;
}

.public-feature-purple i { color: #8b5cf6; }

.public-feature-green {
    background: rgba(16, 185, 129, 0.08);
    border-left-color: #10b981;
}

.public-feature-green i { color: #10b981; }

/* ─── CTA Buttons ─── */
.public-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    color: white;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.public-cta:hover {
    transform: translateY(-2px);
    color: white;
}

.public-cta-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.public-cta-blue:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.public-cta-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.public-cta-purple:hover {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.public-cta-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.public-cta-green:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

/* ─── FlowState centered container ─── */
.public-product-centered {
    display: flex;
    justify-content: center;
}

.public-product-centered .public-product-wrapper {
    max-width: 600px;
    width: 100%;
}

/* ─── Slate Card Variant (Bedrock) ─── */
.public-product-card-slate {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    box-shadow: 0 10px 40px rgba(100, 116, 139, 0.12);
    border: 2px solid #cbd5e1;
}

.public-product-card-slate:hover {
    box-shadow: 0 20px 60px rgba(100, 116, 139, 0.2);
}

.public-subtitle-slate { color: #64748b; }
.public-product-logo h2.public-h2-slate { color: #475569; }
.public-product-description strong.slate { color: #475569; }

.public-feature-slate {
    background: rgba(100, 116, 139, 0.08);
    border-left-color: #64748b;
}

.public-feature-slate i { color: #64748b; }

.public-cta-slate {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: 0 4px 16px rgba(100, 116, 139, 0.3);
}

.public-cta-slate:hover {
    box-shadow: 0 8px 24px rgba(100, 116, 139, 0.4);
}

.public-cta-disabled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

/* ─── Product Icon Circle (SVG container) ─── */
.public-product-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.public-product-icon-circle-green {
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
}

.public-product-icon-circle-slate {
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
}

.public-product-icon-circle-teal {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
    border: 2px solid #99f6e4;
}

/* ─── Client Spotlight Section ─── */
.public-client-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.public-client-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 30%, #ffffff 100%);
    border: 2px solid #fde68a;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.public-client-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.875rem;
    border-radius: 20px;
}

.public-client-icon {
    flex-shrink: 0;
}

.public-client-icon-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #fde68a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
}

.public-client-content {
    flex: 1;
}

.public-client-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d97706;
    margin: 0 0 0.5rem 0;
}

.public-client-headline {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.public-client-subheadline {
    font-size: 1rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 1rem 0;
}

.public-client-description {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    max-width: 650px;
}

.public-cta-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.public-cta-amber:hover {
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

@media (max-width: 768px) {
    .public-client-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
        gap: 1.5rem;
    }

    .public-client-description {
        max-width: 100%;
    }
}

/* ─── Platform Banner Section ─── */
.public-platform-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.public-platform-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.public-platform-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.public-platform-headline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
}

.public-platform-subheadline {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ─── Footer ─── */
.public-footer {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.public-footer-inner {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.public-footer-copy {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
}

.public-footer-links {
    display: flex;
    gap: 1.5rem;
}

.public-footer-links a {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.public-footer-links a:hover {
    color: #1e293b;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* ─── Public Status Page ─── */
.status-section-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.status-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.status-item-num {
    font-family: monospace;
    font-size: 0.75rem;
    color: #64748b;
    min-width: 70px;
}

.status-item-title {
    font-weight: 500;
    color: #1e293b;
    flex: 1;
}

.status-item-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    background: rgba(59,130,246,0.12);
    color: #2563eb;
}

.status-ok {
    color: #10b981;
}

/* ─── Vote Page ─── */
.vote-reset {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.vote-reset *,
.vote-reset *::before,
.vote-reset *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.vote-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    padding: 1rem;
}

.vote-main-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vote-ballot-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.vote-ballot-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: white;
    padding: 1.25rem 2rem;
}

.vote-header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.vote-header-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    padding: 4px;
}

.vote-header-title {
    text-align: center;
}

.vote-header-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
    letter-spacing: 0.5px;
}

.vote-header-title .vote-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    font-style: italic;
}

.vote-header-bottom {
    text-align: center;
}

.vote-header-bottom h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vote-meeting-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.vote-meeting-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.vote-meeting-info-item i {
    opacity: 0.8;
}

.vote-ballot-body {
    padding: 1.5rem 2rem;
}

.vote-section {
    margin-bottom: 1.5rem;
}

.vote-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.vote-section-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0;
}

.vote-section-header i {
    color: #2d5a87;
    font-size: 1.1rem;
}

.vote-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .vote-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .vote-form-row {
        grid-template-columns: 1fr;
    }
}

.vote-form-group {
    display: flex;
    flex-direction: column;
}

.vote-form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
    font-size: 0.85rem;
}

.vote-form-group label .vote-required {
    color: #dc2626;
    margin-left: 2px;
}

.vote-form-control {
    padding: 0.75rem 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

.vote-form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.vote-validation-message {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.vote-proposals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 800px) {
    .vote-proposals-grid {
        grid-template-columns: 1fr;
    }
}

.vote-proposal-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vote-proposal-card h4 {
    color: #1e3a5f;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-proposal-card h4 .vote-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

.vote-proposal-content {
    flex: 1;
}

.vote-proposal-description {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.vote-proposal-description strong {
    color: #1f2937;
}

.vote-directors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 1rem;
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.vote-directors-list .vote-director-group {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.vote-directors-list .vote-director-group-label {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vote-directors-list .vote-director-names {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.85rem;
}

.vote-proposal-voting {
    margin-top: auto;
}

.vote-prompt {
    font-style: italic;
    color: #2d5a87;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.vote-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vote-option {
    flex: 1;
    min-width: 100px;
}

.vote-option input[type="radio"] {
    display: none;
}

.vote-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: #374151;
    transition: all 0.3s ease;
    text-align: center;
}

.vote-option.vote-for-vote label {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
    color: #166534;
}

.vote-option.vote-for-vote label:hover {
    animation: vote-pulse-green 1s infinite;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.vote-option.vote-against-vote label {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fca5a5;
    color: #991b1b;
}

.vote-option.vote-against-vote label:hover {
    animation: vote-pulse-red 1s infinite;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.vote-option.vote-abstain-vote label {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: #d1d5db;
    color: #6b7280;
}

.vote-option.vote-abstain-vote label:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

@keyframes vote-pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes vote-pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.vote-options.has-selection .vote-option:not(.selected) label {
    opacity: 0.35;
    filter: grayscale(60%);
    transform: scale(0.97);
}

.vote-options.has-selection .vote-option:not(.selected) label:hover {
    opacity: 0.7;
    filter: grayscale(30%);
    transform: scale(1);
}

.vote-option.selected label {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vote-option.vote-for-vote.selected label {
    border-color: #16a34a;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.3), 0 4px 12px rgba(22, 163, 74, 0.2);
}

.vote-option.vote-against-vote.selected label {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3), 0 4px 12px rgba(220, 38, 38, 0.2);
}

.vote-option.vote-abstain-vote.selected label {
    border-color: #6b7280;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.3), 0 4px 12px rgba(107, 114, 128, 0.2);
}

.vote-signature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 800px) {
    .vote-signature-section {
        grid-template-columns: 1fr;
    }
}

.vote-solicitation-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: 10px;
    padding: 1rem;
}

.vote-solicitation-box h4 {
    color: #0c4a6e;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-solicitation-box p {
    color: #475569;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.vote-solicitation-box ol {
    color: #475569;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-left: 1rem;
    margin-bottom: 0.75rem;
}

.vote-solicitation-box ol li {
    margin-bottom: 0.25rem;
}

.vote-more-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.vote-more-info-link:hover {
    color: #0c4a6e;
    text-decoration: underline;
}

.vote-signature-form-section {
    background: #f9fafb;
    border-radius: 10px;
    padding: 1rem;
    border: 2px solid #e5e7eb;
}

.vote-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vote-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.vote-checkbox-group label {
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.4;
}

.vote-signature-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

@media (max-width: 500px) {
    .vote-signature-row {
        grid-template-columns: 1fr;
    }
}

.vote-signature-input {
    font-family: 'Brush Script MT', cursive;
    font-size: 1.1rem;
}

.vote-submit-section {
    margin-top: 1.5rem;
    text-align: center;
}

.vote-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2.5rem;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.vote-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

.vote-error-alert {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.vote-error-alert i {
    color: #dc2626;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.vote-error-alert-content h4 {
    color: #991b1b;
    font-weight: 700;
    margin-bottom: 0.125rem;
    font-size: 0.95rem;
}

.vote-error-alert-content p {
    color: #b91c1c;
    font-size: 0.85rem;
}

.vote-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.vote-modal-overlay.active {
    display: flex;
}

.vote-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.vote-modal-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px 16px 0 0;
}

.vote-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.vote-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vote-modal-body {
    padding: 1.5rem;
}

.vote-modal-section {
    margin-bottom: 1.25rem;
}

.vote-modal-section:last-child {
    margin-bottom: 0;
}

.vote-modal-section h4 {
    color: #1e3a5f;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-modal-section h4 i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.vote-modal-section p {
    color: #4b5563;
    font-size: 0.85rem;
    line-height: 1.6;
}

.vote-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.vote-modal-footer-note {
    color: #6b7280;
    font-size: 0.8rem;
    font-style: italic;
}

/* ─── Vote Confirmation Page ─── */
.voteconf-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.voteconf-logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.voteconf-logo-container img {
    max-width: 200px;
    height: auto;
}

.voteconf-logo-container a {
    display: inline-block;
}

.voteconf-card {
    max-width: 650px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    text-align: center;
}

.voteconf-header {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    padding: 3rem 2rem 2.5rem;
    position: relative;
}

.voteconf-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.voteconf-success-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.voteconf-success-icon i {
    font-size: 3.5rem;
    color: #059669;
}

.voteconf-header h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.voteconf-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.voteconf-body-content {
    padding: 3rem 2rem;
}

.voteconf-thank-you-message {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.voteconf-thank-you-message strong {
    color: #1f2937;
}

.voteconf-shareholder-name {
    display: inline-block;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 2rem;
}

.voteconf-shareholder-name-icon {
    margin-right: 0.5rem;
}

.voteconf-info-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.voteconf-info-box h3 {
    color: #1e3a5f;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voteconf-info-box h3 i {
    color: #3b82f6;
}

.voteconf-info-box ul {
    list-style: none;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.8;
}

.voteconf-info-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.voteconf-info-box ul li i {
    color: #10b981;
    margin-top: 4px;
    flex-shrink: 0;
}

.voteconf-meeting-reminder {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.voteconf-meeting-reminder h4 {
    color: #1e40af;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.voteconf-meeting-reminder p {
    color: #1e3a8a;
    font-size: 0.9rem;
    margin: 0;
}

.voteconf-meeting-reminder strong {
    display: block;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.voteconf-timestamp {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.voteconf-timestamp i {
    margin-right: 0.375rem;
}

.voteconf-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.voteconf-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.voteconf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

.voteconf-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.voteconf-btn-secondary:hover {
    color: #1e3a5f;
}

.voteconf-footer-note {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    color: #9ca3af;
    font-size: 0.85rem;
}

.voteconf-footer-note a {
    color: #3b82f6;
    text-decoration: none;
}

.voteconf-footer-note a:hover {
    text-decoration: underline;
}

.voteconf-confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1000;
}

.voteconf-confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    animation: voteconf-confetti-fall 4s ease-out forwards;
}

@keyframes voteconf-confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}
