/* =========================== ADD IPO SCREEN ========================  */
.tab-link {
    background-color: #dcdcdc;
    /* light grey */
    color: #333;
    margin-right: 5px;
    border-radius: 6px 6px 0 0;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px 15px;
    font-size: 14px;
    display: inline-block;
    text-align: center;
}

.tab-link:hover {
    background-color: #c0c0c0;
    /* darker silver */
    color: #000;
}

.tab-link.active {
    background-color: #007bff;
    /* blue */
    color: #fff;
    border: 1px solid #007bff;
    border-bottom: none;
}

.nav-link {
    margin-right: 5px
}


/* Responsive: smaller screens */
@media (max-width: 768px) {
    .tab-link {
        padding: 6px 10px;
        font-size: 12px;
        margin-right: 3px;
        width: 100%;
    }

    .nav {
        display: block;
        text-align: center;
        /* center inline elements like links */
        margin: 10px 0;
    }

    .nav-item {
        border: 2px solid black;
        padding: 10;
    }

    .nav-link {
        margin-right: 0px;
    }
}

/* --------- EXCHNAGE, iSSUE TYPE CHECKBOX */

.exchange-container {
    gap: 12px;
}

.exchange-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 15px;
    border: 2px solid #cfd8dc;
    border-radius: 12px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.exchange-label {
    font-weight: 500;
    font-size: 16px;
}

.checkbox-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #cfd8dc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    background-color: white;
    transition: background-color 0.3s ease;
}



.exchange-box.selected {
    background-color: #0099ff;
    border-color: #0099ff;
    color: white;
}

.exchange-box.selected .checkbox-icon {
    background-color: white;
    color: #0099ff;
    border-color: white;
}

@media (min-width: 768px) {
    .exchange-box {
        width: auto;
    }
}

.issue-type-container {
    gap: 5px;
}



/* ===============================Add ipo period date css======================= */
/* Wrapper and title */
.ipo_date_period-wrapper {
    padding: 20px;
    background-color: #f8f9fa;
    /* min-height: 100vh; */
}

.ipo_date_period-title {
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

/* Cards container */
.ipo_date_period-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Individual card */
.ipo_date_period-card {
    cursor: pointer;
    min-width: 180px;
    max-width: 220px;
    flex: 1 1 180px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    background-color: #d6d6d6; /* default grey */
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover effect - blue for all cards */
.ipo_date_period-card.pending:hover {
    background-color: #e3f2fd;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Uploaded and pending file status */
.ipo_date_period-card.uploaded {
    background-color: #28a745;
    color: #fff;
}

.ipo_date_period-card.pending {
    background-color: #d6d6d6;
    color: #333;
}

/* Card title */
.ipo_date_period-card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Card info */
.ipo_date_period-card-info {
    font-size: 0.9rem;
    margin: 5px 0;
}

.ipo_date_period-card-info span {
    font-weight: 500;
}

/* Button inside card */
.ipo_date_period-card-button {
    margin-top: 12px;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background-color: #0d6efd;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ipo_date_period-card-button:hover {
    background-color: #084298;
}


