:root {
    --sp-accent: #0f766e;
    --sp-accent-soft: #ccfbf1;
    --sp-highlight: #0ea5e9;
    --ws-accent: #0b7285;
    --ws-highlight: #f59e0b;
}

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

@keyframes modulePulseGlow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.18);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
    }
}

.sp-page,
.ws-page {
    animation: none;
}

.dark .sp-hero,
.dark .ws-hero {
    border-color: rgba(71, 85, 105, 0.95);
    background:
        radial-gradient(circle at 85% 18%, rgba(14, 165, 233, 0.16), transparent 46%),
        radial-gradient(circle at 10% 92%, rgba(20, 184, 166, 0.12), transparent 42%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.38);
}

.dark .sp-hero h1,
.dark .ws-hero h1,
.dark .sp-hero p,
.dark .ws-hero p {
    color: #f8fafc !important;
}

.sp-hero,
.ws-hero {
    border-radius: 1.2rem;
    padding: 1.15rem;
    border: 1px solid rgba(14, 165, 233, 0.15);
    background:
        radial-gradient(circle at 85% 18%, rgba(14, 165, 233, 0.14), transparent 46%),
        radial-gradient(circle at 10% 92%, rgba(20, 184, 166, 0.12), transparent 42%),
        linear-gradient(135deg, #f8fbff 0%, #effcfb 100%);
}

.sp-page .pc-card,
.ws-page .pc-card {
    border-width: 1px;
    border-color: rgba(15, 118, 110, 0.16);
    box-shadow:
        0 8px 26px rgba(2, 132, 199, 0.08),
        0 2px 8px rgba(15, 23, 42, 0.07);
}

.sp-page .pc-card:hover,
.ws-page .pc-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 34px rgba(14, 165, 233, 0.15),
        0 4px 10px rgba(15, 23, 42, 0.1);
}

.sp-status-chip,
.ws-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 9999px;
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(14, 165, 233, 0.3);
    background: rgba(224, 242, 254, 0.65);
    color: #0c4a6e;
}

.ws-card-cover {
    position: relative;
    overflow: hidden;
}

.ws-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 42%, rgba(15, 23, 42, 0.24) 100%);
}

.ws-card-title {
    text-wrap: balance;
}

.ws-step-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--ws-accent), var(--ws-highlight));
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.module-admin .card-dark {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(180deg, rgba(22, 28, 40, 0.95) 0%, rgba(17, 22, 32, 0.95) 100%);
}

.module-admin .module-headline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 0.8rem;
}

.module-admin .module-headline i {
    color: #22d3ee;
}

.module-admin .module-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    border: 1px solid rgba(125, 211, 252, 0.24);
    color: #bae6fd;
    background: rgba(8, 47, 73, 0.35);
}

.module-admin input[type="text"],
.module-admin input[type="email"],
.module-admin input[type="number"],
.module-admin input[type="date"],
.module-admin input[type="datetime-local"],
.module-admin textarea,
.module-admin select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-admin input:focus,
.module-admin textarea:focus,
.module-admin select:focus {
    border-color: rgba(34, 211, 238, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2) !important;
}

@media (max-width: 768px) {
    .sp-hero,
    .ws-hero {
        padding: 0.95rem;
        border-radius: 1rem;
    }

    .module-admin .card-dark {
        border-radius: 1rem;
    }
}
