﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.main-menu-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.main-category-btn {
    padding: 8px 20px;
    border: 1px solid #5a2d91;
    border-radius: 4px;
    background: #fff;
    color: #5a2d91;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

    .main-category-btn:hover,
    .main-category-btn.active {
        background: #5a2d91;
        color: #fff;
    }

.menu-divider {
    margin-top: 15px;
    border: 0;
    border-top: 1px solid #5a2d91;
}
.sub-menu-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.sub-category-btn {
    padding: 8px 18px;
    border: 1px solid #5a2d91;
    border-radius: 4px;
    background: #fff;
    color: #5a2d91;
    cursor: pointer;
}

    .sub-category-btn:hover,
    .sub-category-btn.active {
        background: #5a2d91;
        color: #fff;
    }
.download-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.download-card {
    width: 140px;
    min-height: 110px;
    border: 1px solid #6a3ea1;
    border-radius: 4px;
    text-align: center;
    padding: 15px;
}

    .download-card a {
        text-decoration: none;
        color: #6a3ea1;
    }

.file-title {
    margin-top: 10px;
    font-size: 13px;
    word-break: break-word;
}
.download-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.download-card {
    width: 135px;
    height: 150px;
    border: 1px solid #6b3fa0;
    border-radius: 4px;
    text-align: center;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
    background: #fff;
}

    .download-card a {
        text-decoration: none;
        color: #6b3fa0;
    }

.pdf-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.file-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    word-break: break-word;
}
/*.filter-dropdown {
    min-width: 420px;
    max-width: 600px;
    display: inline-block;
}*/
#yearFilterContainer {
    margin-left: 85px;
}

.filter-dropdown {
    width: 450px;
    border: 1px solid #6a3ea1;
    border-radius: 4px;
    padding: 6px 10px;
}
#yearFilter,
#companyFilter {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 45px;
    border: 1px solid #6a3ea1 !important;
    border-radius: 4px !important;
    background: linear-gradient(to left, #6a3ea1 35px, transparent 35px);
    position: relative;
}

.select-wrapper {
    position: relative;
    display: inline-block;
}

    .select-wrapper::after {
        content: "\25BE"; /* ▼ */
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: white;
        pointer-events: none;
        font-size: 14px;
        font-weight: bold;
    }
.folder-card {
    border: 1px solid #6a3ea1;
    border-radius: 6px;
    margin-bottom: 15px;
}

.folder-header {
    padding: 15px;
    cursor: pointer;
    background: #faf8ff;
    font-weight: 600;
    color: #6a3ea1;
}

    .folder-header i {
        font-size: 20px;
        margin-right: 10px;
        color: #f0ad4e;
    }

.folder-files {
    padding: 10px 20px;
}

.pdf-file {
    margin: 10px 0;
}

    .pdf-file a {
        text-decoration: none;
        color: #333;
    }

    .pdf-file i {
        margin-right: 8px;
        color: red;
    }

/* PDF container */
.pdf-download-container {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

/* PDF card */
.pdf-download-card {
    width: 210px;
    min-height: 125px;
    background: #ffffff;
    border: 1px solid #6a3ea1;
    border-radius: 6px;
    padding: 18px 15px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    /* Hover */
    .pdf-download-card:hover {
        box-shadow: 0 4px 12px rgba(106, 62, 161, 0.15);
        transform: translateY(-2px);
    }

/* Link */
.pdf-download-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #333333 !important;
    height: 100%;
}

/* PDF icon */
.pdf-icon-wrapper {
    margin-bottom: 10px;
}

    .pdf-icon-wrapper i {
        font-size: 42px;
        color: #e53935;
    }

/* PDF name */
.pdf-file-name {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #333333;
    word-break: break-word;
}

/* Hover title */
.pdf-download-card:hover .pdf-file-name {
    color: #6a3ea1;
}
.committees-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}


/* ==========================================
   COMPANY HEADER
   ========================================== */

.company-header {
    width: 75%;
    max-width: 900px;
    text-align: center;
    margin-bottom: 28px;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

.company-name {
    font-family: "Times New Roman", Times, serif;
    font-size: 27px;
    font-weight: bold;
    color: #283675;
    margin-bottom: 2px;
}

.company-details {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 19px;
    color: #000;
}

.separator {
    padding: 0 5px;
}


/* ==========================================
   COMMITTEE TABLE
   ========================================== */

.committee-table {
    width: 75%;
    max-width: 900px;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #000;
    background: #fff;
}


/* Main title */

.committee-main-title {
    text-align: center !important;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    padding: 3px 5px !important;
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}


/* Column header */

.committee-table thead tr:nth-child(2) th {
    background: #fff;
    color: #000;
    font-weight: bold;
    text-align: left;
    padding: 3px 7px;
    border: 1px solid #000;
}


/* Column widths */

.committee-table th:nth-child(1),
.committee-table td:nth-child(1) {
    width: 40%;
}

.committee-table th:nth-child(2),
.committee-table td:nth-child(2) {
    width: 40%;
}

.committee-table th:nth-child(3),
.committee-table td:nth-child(3) {
    width: 20%;
}


/* Table cells */

.committee-table td {
    border: 1px solid #000;
    padding: 2px 7px;
    line-height: 17px;
    vertical-align: middle;
}


/* Committee name */

.committee-table .committee-name {
    vertical-align: top;
    padding-top: 4px;
}


/* Space between committees */

.committee-table .committee-space td {
    height: 17px;
    padding: 0;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-top: 0;
    border-bottom: 0;
}


/* Remove hover */

.committee-table tbody tr:hover td {
    background: #fff;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 768px) {

    .committees-container {
        align-items: flex-start;
        overflow-x: auto;
    }

    .company-header {
        width: 750px;
        min-width: 750px;
    }

    .company-name {
        font-size: 23px;
    }

    .committee-table {
        width: 750px;
        min-width: 750px;
    }
}
.registrar-container {
    width: 88%;
    margin: 30px auto;
    border: 1px solid #ddd;
    background: #fff;
}

.company-header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.company-name {
    font-size: 25px;
    font-weight: 700;
    color: #293b7a;
    margin-bottom: 8px;
}

.company-details {
    font-size: 14px;
    line-height: 22px;
    color: #222;
}

.registrar-content {
    padding: 25px 35px;
}

.registrar-name {
    font-size: 22px;
    font-weight: 700;
    color: #4d2d7d;
    margin-bottom: 8px;
}

.registrar-designation {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.registrar-company {
    font-size: 17px;
    font-weight: 600;
    margin: 18px 0;
    color: #4d2d7d;
}

.registrar-detail {
    font-size: 15px;
    line-height: 28px;
    color: #333;
}

    .registrar-detail a {
        color: #4d2d7d;
        text-decoration: none;
    }

        .registrar-detail a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {

    .registrar-container {
        width: 95%;
    }

    .registrar-content {
        padding: 20px;
    }

    .company-name {
        font-size: 20px;
    }
}
.iepf-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

    .iepf-container h4 {
        color: #5b2d90;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .iepf-container p {
        font-size: 18px;
        line-height: 1.7;
        color: #333;
        margin-bottom: 15px;
    }

    .iepf-container a {
        color: #0d6efd;
        text-decoration: underline;
        word-break: break-word;
    }
.reg46-title {
    color: #4d2b7f;
    font-weight: 700;
    margin-bottom: 25px;
}

.reg46-table {
    border: 1px solid #6a3ea1;
}

    .reg46-table thead th {
        background: #4d2b7f;
        color: #fff;
        text-align: center;
        vertical-align: middle;
    }

    .reg46-table td,
    .reg46-table th {
        border: 1px solid #8b6ab8;
        font-size: 14px;
        vertical-align: top;
    }

    .reg46-table td {
        padding: 10px;
    }

    .reg46-table a {
        color: #4d2b7f;
        text-decoration: underline;
        word-break: break-word;
    }

.reg46-container {
    max-width: 1200px;
}
.directorship-tag {
    display: inline-block;
    background: #4d2c7a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 16px;
    line-height: 1;
    position: relative;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

    /* Left slant */
    .directorship-tag:before {
        content: "";
        position: absolute;
        left: -8px;
        top: 0;
        width: 0;
        height: 0;
        border-top: 13px solid transparent;
        border-bottom: 13px solid transparent;
        border-right: 8px solid #4d2c7a;
    }

    /* Right slant */
    .directorship-tag:after {
        content: "";
        position: absolute;
        right: -8px;
        top: 0;
        width: 0;
        height: 0;
        border-top: 13px solid transparent;
        border-bottom: 13px solid transparent;
        border-left: 8px solid #4d2c7a;
    }