/* Header Styles */
.header-section {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
}
.header-section h1 {
    margin-bottom: 0.5rem;
}
.logo-text {
    line-height: 1;
}
.greyTextSpan{
    color: #c1c1c1;
}
.psHeaderTextscntnr{
    border-left: 1px solid rgba(255,255,255,0.4);
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 60px 0;
}

.poll-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.poll-stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.stats-text {
    font-weight: 600;
    color: #1f2937;
} 

.poll-actions {
    margin-top: 2rem;
    text-align: center;
}

.poll-actions a {
    text-decoration: none;
    margin: 0 15px;
}

.poll-actions a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer-section {
    background: var(--primary-color);
    padding: 30px 0 30px;
    margin-top: auto;
}

/* .footer-description {
    opacity: 0.8;
} */

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    opacity: 0.8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}
.footer-section .ps14pxWhite400{
    opacity: 0.8;
}
.psFooterSectionBody{
    border-bottom: .5px solid rgba(255,255,255,0.8);
}
.logo-text{
    display: inline-block;
    line-height: 0.8;
}
.registration-card, .empty-poll-card{
    background-color: var(--background-color-primary);
    border-radius: 20px;
}
.registration-card{
    border: 1px solid var(--grey-light);
}
.social-buttons {
    display: flex;
    gap: 20px;                /* 20px gap between buttons */
    width: 75%;               /* default width */
}
.psVerificationFromDivider{
    height: 1px;
    background-color: #D9D9D9;
}

.otp-verification-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    margin-bottom: 2rem;
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.otp-input {
    width: 50px;
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.otp-input:focus {
    border-color: var(--primary-color-light);
    box-shadow: 0 0 0 3px rgba(255, 111, 43, 0.1);
}

.otp-input.filled {
    border-color: var(--primary-color-light);
    background-color: rgba(255, 111, 43, 0.05);
}

.otp-input.error {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 800px) {
    .header-section {
        padding: 40px 0;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .poll-card {
        padding: 1.5rem;
    }
    
    .footer-section {
        padding: 20px 0 20px;
    }
}

/* Additional utility classes */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
}

.btn-outline-poll {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-poll:hover {
    background: var(--primary-color);
    color: white;
}

.psPolldetailTabIndi{
    border-radius: 30px;
}
.pollDetalTabActive{
    background: var(--primary-color-light);
}
.psPollDetailGraphSection, .psPollDetailVoteSection{
    border: 1px solid var(--grey-light);
    border-radius: 20px;
}
.psVoteOptionIndi, .pollLegendIndi{
    border: 1px solid var(--grey-light);
    border-radius: 9px;
}
.pollLegendIndi{
    min-width: 150px;
}
.psVoteOptionIndi{
    cursor: pointer;
}
.psPollDetailsGraphCntnr{
    height: 200px;
}
.pollLegendColor{
    width: 15px;
    height: 15px;
    border-radius: 100%;
    flex-shrink: 0;
    display: inline-block;
}
.psPollDetailsBtmCntnr{
    background-color: #F7F2FF;
}
.psPollDetailsBtmFeaturesSpan{
    padding: 10px 16px;
    border-radius: 100%;
    display: inline-block;
    background-color: var(--primary-color);
}
.psPollDetailMain{
    width: 75%;
}

@media (max-width: 600px) {
    .psHeaderTextscntnr{
        border-top: 1px solid rgba(255,255,255,0.4);
        border-left: none;
        padding-top: 10px;
    }
    .psPollDetailMain{
        width: 100%;
    }
    .psPollDetailGraphSection, .psPollDetailVoteSection{
        width: 100% !important;
    }
    .social-buttons {                /* 20px gap between buttons */
        width: 100%;
    }
}