/* ══════════════════════════════════════════
   IDEIAS DOS CLIENTES — Futuristic Styling
   ══════════════════════════════════════════ */

.ep-ideias-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ── Form Section ── */
.ep-ideias-form-section {
    background: rgba(18, 18, 28, 0.95);
    border: 1px solid rgba(0, 245, 255, 0.15);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.ep-ideias-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00F5FF, #FF00A8, #00F5FF);
    background-size: 200% 100%;
    animation: epIdeiasGradSlide 4s linear infinite;
}

@keyframes epIdeiasGradSlide {
    from { background-position: 0% 0; }
    to { background-position: 200% 0; }
}

.ep-ideias-form-header {
    margin-bottom: 1.5rem;
}

.ep-ideias-form-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 0.5rem;
}

.ep-ideias-form-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.6;
}

.ep-ideias-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ep-ideias-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
}

.ep-ideias-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
}

.ep-required {
    color: #FF00A8;
}

.ep-ideias-input,
.ep-ideias-textarea {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #FFFFFF;
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid rgba(0, 245, 255, 0.15);
    padding: 0.8rem 1rem;
    outline: none;
    transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    width: 100%;
    box-sizing: border-box;
}

.ep-ideias-input::placeholder,
.ep-ideias-textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.ep-ideias-input:focus,
.ep-ideias-textarea:focus {
    border-color: #00F5FF;
    box-shadow: 0 0 12px rgba(0, 245, 255, 0.15), inset 0 0 8px rgba(0, 245, 255, 0.03);
    background: rgba(10, 10, 15, 1);
}

.ep-ideias-textarea {
    resize: vertical;
    min-height: 120px;
}

.ep-ideias-char-count {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: right;
}

.ep-ideias-submit {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0A0A0F;
    background: #00F5FF;
    border: none;
    padding: 1rem 2.5rem;
    cursor: pointer;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.ep-ideias-submit:hover {
    background: #FF00A8;
    color: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 0, 168, 0.35);
    transform: translateY(-3px);
}

/* ── Feedback ── */
.ep-ideias-feedback {
    padding: 1rem 1.25rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ep-ideias-feedback.ep-feedback-success {
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.25);
    color: #00F5FF;
}

.ep-ideias-feedback.ep-feedback-error {
    background: rgba(255, 0, 168, 0.08);
    border: 1px solid rgba(255, 0, 168, 0.25);
    color: #FF00A8;
}

.ep-hidden {
    display: none !important;
}

/* ── Login Notice ── */
.ep-ideias-login-notice {
    background: rgba(18, 18, 28, 0.95);
    border: 1px solid rgba(255, 0, 168, 0.15);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ep-ideias-login-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF00A8, #00F5FF, transparent);
}

.ep-ideias-login-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 0.5rem;
}

.ep-ideias-login-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1.5rem;
}

.ep-ideias-login-btn {
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0A0A0F;
    background: #FF00A8;
    text-decoration: none;
    padding: 0.8rem 2rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

.ep-ideias-login-btn:hover {
    background: #00F5FF;
    color: #0A0A0F;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

/* ── Ideas List ── */
.ep-ideias-list-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ep-ideias-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ep-ideias-list-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
}

.ep-ideias-list-count {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00F5FF;
    margin: 0;
}

.ep-ideias-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Idea Card ── */
.ep-ideia-card {
    display: flex;
    gap: 1.5rem;
    background: rgba(18, 18, 28, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ep-ideia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00F5FF, #FF00A8);
    transition: width 0.4s ease;
}

.ep-ideia-card:hover {
    border-color: rgba(0, 245, 255, 0.25);
    background: rgba(18, 18, 28, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.ep-ideia-card:hover::before {
    width: 100%;
}

/* Vote column */
.ep-ideia-vote-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 60px;
    flex-shrink: 0;
}

.ep-ideia-vote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50%;
    color: #00F5FF;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ep-ideia-vote-btn:hover:not(:disabled) {
    background: rgba(0, 245, 255, 0.1);
    border-color: #00F5FF;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
    transform: scale(1.1);
}

.ep-ideia-vote-btn:disabled {
    cursor: default;
    opacity: 0.7;
}

.ep-ideia-vote-btn.ep-voted {
    background: rgba(0, 245, 255, 0.15);
    border-color: #00F5FF;
    color: #00F5FF;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.15);
}

.ep-ideia-vote-btn.ep-vote-animating {
    animation: epVotePulse 0.5s ease;
}

@keyframes epVotePulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.ep-ideia-vote-count {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.35rem;
    letter-spacing: 1px;
    color: #FFFFFF;
    line-height: 1;
}

.ep-ideia-vote-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.3);
}

/* Content column */
.ep-ideia-content-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ep-ideia-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.2;
}

.ep-ideia-excerpt {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.ep-ideia-excerpt p {
    margin: 0;
}

.ep-ideia-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ep-ideia-author {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.ep-ideia-author strong {
    color: #00F5FF;
    font-weight: 600;
}

.ep-ideia-date {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ── Empty State ── */
.ep-ideias-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: rgba(18, 18, 28, 0.5);
    border: 1px dashed rgba(0, 245, 255, 0.15);
    text-align: center;
    gap: 0.75rem;
}

.ep-ideias-empty-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
}

.ep-ideias-empty-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ── Pagination ── */
.ep-ideias-pagination {
    margin-top: 1.5rem;
}

.ep-ideias-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ep-ideias-pagination li {
    display: inline-block;
}

.ep-ideias-pagination a,
.ep-ideias-pagination span.current {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    text-decoration: none;
    border: 1px solid rgba(0, 245, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.ep-ideias-pagination span.current {
    background: #00F5FF;
    color: #0A0A0F;
    border-color: #00F5FF;
}

.ep-ideias-pagination a:hover {
    border-color: #00F5FF;
    color: #00F5FF;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ep-ideias-form-section {
        padding: 1.75rem 1.25rem;
    }

    .ep-ideia-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .ep-ideia-vote-col {
        flex-direction: row;
        gap: 0.75rem;
        min-width: auto;
    }

    .ep-ideia-vote-btn {
        width: 40px;
        height: 40px;
    }

    .ep-ideias-submit {
        width: 100%;
        text-align: center;
    }

    .ep-ideias-list-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .ep-ideias-form-section {
        padding: 1.25rem 1rem;
    }

    .ep-ideia-card {
        padding: 1rem;
    }

    .ep-ideias-form-title {
        font-size: 1.35rem;
    }

    .ep-ideias-list-title {
        font-size: 1.35rem;
    }
}