/* Inner Pages Common Styles */

/* ---------- Winners Page Styles ---------- */
.subtitle {
    font-size: 1.2rem;
    opacity: .9;
    max-width: 800px;
    margin: 0 auto;
}

.gold-accent {
    color: #c7a748;
}

/* Tabs */
.tabs {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 1);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 10px 0;
}

.special-award {
    text-align: center;
}

.tab-button.active {
    padding: 12px 25px;
}

button.tab-button {
    font-size: 20px;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 17px;
    margin: 5px;
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid rgba(86, 0, 112, .3);
    border-radius: 30px;
    font-weight: 700;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
    border-color: #c7a748;
}

.tab-button:hover,
.tab-button.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.tab-content-winner {
    display: none;
}

.tab-content-winner.active {
    display: flex;
    min-height: 300px;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

/* Awards Layout */
.category-title {
    font-size: 17px;
    color: var(--white);
    text-align: center;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c7a748;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.award-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.card-header {
    background: #1a006c;
    color: #fff;
    padding: 20px 5px;
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #8f7107;
    background: linear-gradient(103deg, rgba(143, 113, 7, 1) 0%, rgba(240, 196, 22, 1) 51%, rgba(143, 113, 7, 1) 100%);
}

.subcategory {
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
}

.card-body {
    padding: 20px;
}

/* Nominees */
.nominee {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    transition: background .2s ease;
}

.nominee:hover {
    background: rgba(255, 255, 255, 0.1);
}

.trophy {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.nominee-name {
    font-weight: 500;
    color: var(--primary-color);
    text-align: left;
}

h4 {
    font-size: 15px;
    margin-bottom: 25px;
}

.category-partner-tab img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    padding: 50px 0 80px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 20px;
    border: 1px solid rgba(213, 167, 2, 1);
    border-radius: 20px;
}

section#winners-2025 .container.wide-container.bordered-container {
    background: rgba(12, 6, 33, 0.6);
}

.faq-accordion {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(213, 167, 2, 0.15);
    border-radius: 12px;
    padding: 0 25px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    border-color: rgba(213, 167, 2, 0.4);
    box-shadow: 0 15px 40px rgba(213, 167, 2, 0.05);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.5);
}

.faq-item.active {
    background: rgba(213, 167, 2, 01);
    border-color: rgba(213, 167, 2, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
}

.faq-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
}

.faq-icon {
    font-size: 1.5rem;
    color: #d5a702;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-title {
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    text-align: left;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
    max-height: 2000px;
    /* Increased to accommodate content */
}

.faq-text {
    padding: 0 0 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 1);
}

.faq-text a {
    color: var(--primary-color);
    font-weight: 600;
}

.faq-text li {
    margin-bottom: 8px;
}

/* ---------- Policy/Legal Section ---------- */
.policy-section {
    padding: 50px 0 80px;
    text-align: left;
}

.policy-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(12, 6, 33, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(213, 167, 2, 1);
    padding: 40px 60px;
    border-radius: 20px;
    box-shadow: none;
}

.policy-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
}

.policy-content p {
    margin-bottom: 25px;
}

.policy-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 40px 0 20px;
    font-weight: 700;
}

.policy-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 12px;
}

.policy-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.policy-content a:hover {
    text-decoration: underline;
}

.important-note {
    background: rgba(213, 167, 2, 0.1);
    padding: 20px;
    border-left: 5px solid #d5a702;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* ---------- Rules and Eligibility Section ---------- */
.rules-section {
    padding: 50px 0 80px;
    /* background: linear-gradient(135deg, #2f0f6d, #401a8f 45%, #571dac); */
}

.rules-container,
.faq-container {
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(213, 167, 2, 1);
    background: rgba(12, 6, 33, 0.6);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.rules-content {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.85;
    text-align: left;
}

.rules-content ul {
    padding-left: 1.4rem;
}

.rules-content ul li {
    margin-bottom: 12px;
}

.rules-content h3 {
    color: #ffd542;
    margin-top: 30px;
    margin-bottom: 20px;
}

.criteria-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
    border-radius: 12px;
    border: 1px solid #6f3bbe;
    box-shadow: 0 12px 30px rgba(25, 10, 80, 0.65);
    background: linear-gradient(180deg, rgba(41, 13, 80, 0.7) 0%, rgba(33, 9, 69, 0.95) 100%);
}

.criteria-table th {
    /* background: linear-gradient(90deg, #5720a9 0%, #7e2adb 100%); */
    color: #ffffff;
    border-bottom: 2px solid #ffd542;
    text-align: left;
}

.criteria-table td {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 18px;
    color: #f2f2f2;
    vertical-align: top;
}

.criteria-table tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.02);
}

.criteria-table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.05);
}

.criteria-table td:nth-child(1),
.criteria-table td:nth-child(4),
.criteria-table th:nth-child(1),
.criteria-table th:nth-child(4) {
    text-align: center;
}

.criteria-table th:nth-child(2),
.criteria-table th:nth-child(3),
.criteria-table td:nth-child(2),
.criteria-table td:nth-child(3) {
    text-align: left;
}


.rules-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 40px 0 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rules-content h3:first-child {
    margin-top: 0;
}

.rules-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.rules-content li {
    margin-bottom: 12px;
}

.rules-content p {
    margin-bottom: 15px;
}

.criteria-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
    border-radius: 12px;
    border: 1px solid rgba(213, 167, 2, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.criteria-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    /* Forces table to allow scroll on mobile */
}

.criteria-table th {
    background: #1a006c;
    color: var(--white);
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 3px solid var(--secondary-color);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.criteria-table td {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.criteria-table tr:hover td {
    background: rgba(255, 255, 255, 0.08);
}

.criteria-table td:nth-child(1),
.criteria-table td:nth-child(4),
.criteria-table th:nth-child(1),
.criteria-table th:nth-child(4) {
    text-align: center;
}

.weightage-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(213, 167, 2, 0.3);
}