/* Modal Styles */
.pcbn-content a {
    color: #0f4aa4 !important;
}
.pcbn-content a:hover {
/*     color: #ccc !important; */
    text-decoration: underline;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
	 margin-top: 140px;
}

.modal-content {
    background-color: #fff;
    margin: 50px auto;
    width: 90%;
    max-width: 1400px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: hidden;
}

/* Product Content Section in Modal */
.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    max-height: 63vh;
	max-height: 59vh;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-bottom: 40px;
}
.pcbn-access-item:last-child{
	background: #0f4aa4 !important;
    color: white !important;
}
/* Custom scrollbar styling for webkit browsers */
.product-content::-webkit-scrollbar {
    width: 8px;
}

.product-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.product-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.product-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.product-image {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
}

/* Quick Access Header */
.pcbn-access-header {
    background-color: #000;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    align-items: center;
}

.pcbn-access-header-title {
    font-weight: bold;
}

.pcbn-access {
	margin:40px 25px;
}

.pcbn-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 55px ;
/*     padding: 20px 34px; */
/* 	padding: 20px 225px 20px 34px; */
    background: none;
}

.pcbn-access-item {
    min-width: 100px;
    display: block;
    /* padding: 12px; */
    text-align: center;
    text-decoration: none;
    background: #e9eaea;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 16px;
    color: #000000 !important;
    line-height: 36px;
}

.pcbn-access-item:hover {
    background: #0f4aa4 !important;
    color: white !important;
}

.pcbn-access-item.inquiry {
    background: #0f4aa4 !important;
    color: white !important;
}

.pcbn-access-item.inquiry:hover {
    background: #003584 !important;
}

.close-btn {
    cursor: pointer;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.nav-item {
    padding: 15px 0;
    text-align: center;
    flex: 1;
    background-color: #f0f0f0;
    border-right: 1px solid #ddd;
    cursor: pointer;
    font-weight: 500;
}

.nav-item:last-child {
    border-right: none;
}

.nav-item.active {
    background-color: #0047AB;
    color: white;
}

/* Content Section */
.pcbn-content {
    padding: 20px;
/*     border-bottom: 1px solid #ddd; */
	 padding-left:0px !important;
}
.pcbn-title {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

.pcbn-badge {
    background-color: #adadad;
    color: black;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 20px;
    margin-left: 5px;
}

.pcbn-subtitle {
    font-weight: bold;
    font-size: 16px;
    color: #000000;
    margin-bottom: 20px;
}

.pcbn-button {
    display: inline-block;
    background-color: #707070;
    font-weight: bold;
    font-size: 16px;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    margin-top: 10px;
}

/* Mobile Responsive Styles for Modal */
@media screen and (max-width: 1024px) {
    .pcbn-access-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 15px 25px;
    }
    
    .pcbn-title {
        font-size: 30px;
    }
    
    .product-content {
        max-height: 60vh; 
        padding: 15px;
        padding-bottom: 30px;
    }
    
    .product-image img {
        max-width: 95%;
    }
/*     .product-content {
        max-height: 25vh;
        padding: 10px;
        padding-bottom: 20px;
    } */
}

@media screen and (max-width: 767px) {
    .pcbn-access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px;
    }
    
    .pcbn-access {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .pcbn-title {
        font-size: 26px;
    }
    
    .pcbn-subtitle {
        font-size: 14px;
    }
    
    .pcbn-button {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .product-content {
        max-height: 60vh;
        padding: 12px;
        padding-bottom: 25px;
    }
    
    .modal-content {
        margin: 30px auto;
        width: 95%;
    }
    .quick-access-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .pcbn-access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }
    
    .pcbn-access-item {
        font-size: 13px;
        line-height: 25px;
        padding: 6px;
    }
    
    .pcbn-title {
        font-size: 22px;
    }
    
    .pcbn-badge {
        font-size: 16px;
        padding: 1px 6px;
    }
    
    .pcbn-subtitle {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .pcbn-content {
        padding: 15px;
    }
    
    .pcbn-button {
        font-size: 12px;
        padding: 8px 10px;
        width: 100%;
        text-align: center;
    }
    
    .product-content {
        max-height: 61vh;
        padding: 10px;
        padding-bottom: 20px;
    }
    
    .product-image {
        margin-bottom: 15px;
    }
    
    .modal-content {
        margin: 20px auto;
/*         max-height: 95vh; */
        width: 98%;
    }
}
@media screen and (max-width: 425px){
	.product-content {
		max-height: 100vh;
		padding: 10px;
		padding-bottom: 20px;
	}
	.modal{
		height: 75% !important;
		margin-top: 70px;
	}
}