/* Companies Explorer Page */
/* Clean minimal hero section matching reference */

.hero-inners {
    max-width: 1200px;
    z-index:1;
  
}
.hero-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    font-size: 14px;
    -webkit-overflow-scrolling: touch;
}

.hero-search-option {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f8fafc;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.hero-search-option:hover {
    background-color: #f8fafc;
    transform: translateX(4px);
}

.hero-search-option:last-child {
    border-bottom: none;
}

.hero-search-option.active {
    background-color: #eff6ff;
    transform: translateX(4px);
}

.hero-search-option.active .company-name-search {
    color: #007cba;
}

.hero-search-option.active .search-arrow {
    color: #007cba;
}

/* Search result content layout */
.search-result-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Company logo in search results */
.company-logo-small {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}
.hero-inners h1{
	margin:0 0 10px !important;
}

.hero-search-option:hover .company-logo-small {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Search result text */
.search-result-text {
    flex: 1;
    min-width: 0;
}

.company-name-search {
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.company-view-text {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggest-company-text {
    font-size: 13px;
    color: #007cba;
    font-weight: 500;
}

/* Search arrow */
.search-arrow {
    color: #9ca3af;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.hero-search-option:hover .search-arrow {
    color: #007cba;
    transform: translateX(2px);
}

/* No result specific styles */
.no-result .search-result-content {
    opacity: 0.8;
}

.no-result:hover .search-result-content {
    opacity: 1;
}

.no-result:hover .suggest-company-text {
    color: #005a87;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-search-dropdown {
        border-radius: 0 0 12px 12px;
        max-height: 60vh;
    }
    
    .hero-search-option {
        padding: 14px 16px;
    }
    
    .company-logo-small {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .company-name-search {
        font-size: 16px;
    }
    
    .company-view-text,
    .suggest-company-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-search-option {
        padding: 16px 20px;
    }
    
    .search-result-content {
        gap: 14px;
    }
    
    .company-logo-small {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-search-dropdown {
    animation: fadeInUp 0.2s ease-out;
}
.hero-titles {
    font-weight: 700;
    font-size: 3.5rem;
    color: #ffffffff;
  
   
}
.hero-subtitles {
    font-size: 18px;
    color: #ffffffff;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 400;
}
.hero-form-container {
    max-width: 96%;
}
.hero-form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}
.hero-search-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.hero-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.hero-search-btn:hover {
    background:#FF7518;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.hero-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 110px;
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 160px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

	
.hero-search-option {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
    color: #1f2937;
    line-height: 1.4;
}


	
.hero-search-option:hover,
.hero-search-option.active {
    background-color: #f3f4f6;
}

.hero-search-option:last-child {
    border-bottom: none;
}

/* Responsive design for hero */
@media (max-width: 768px) {
    .hero-search-dropdown {
        right: 0;
        left: 0;
        max-width: 100%;
        top:42%;
    }
    .hero-search-icon{
        top:25%;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-search-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-search-input {
        width: 100%;
        
    }
    
    .hero-search-btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-form-container {
        max-width: 100%;
    }
}

/* Professional maritime theme styling */
.hero-sections {
    background: linear-gradient(rgba(2, 23, 49, 0.65), rgba(2, 23, 49, 0.75)), 
                url('http://jobs.gpratingacademy.com/wp-content/uploads/2025/10/ship.jpg');
    background-attachment: fixed;
    background-position: bottom;
    background-size: cover;
    padding: 100px 20px;
    margin-bottom:20px!important;
    position: relative;
    height:300px;
}

.hero-sections::before {
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(2, 23, 49, 0.4), rgba(2, 23, 49, 0.2));
    z-index: 1;
}



/* Explore Company css Enhanced hero visuals and premium compare inputs */
.hero-sections {
    padding:40px 130px;
 
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align:left;
    
    position: relative;
   
}
.hero-sections::after {
    /* subtle vignette */
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(2,23,49,0.08), rgba(2,23,49,0.35));
    pointer-events: none;
    border-radius: 10px;
}
.glassy-title { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; font-weight:800; letter-spacing:-0.6px; font-size:2.8rem; color:#fff; text-shadow:0 6px 30px rgba(2,23,49,0.6); }
.subtitle { font-size:1.15rem; color: #e6f0fb; font-weight:600; }

/* Companies Grid Section */
.companies-grid-section {

    background: #ffffff;
	
}

.companies-container {
    max-width: 1200px;
    margin: 0 auto;
	
}

.companies-header {
    text-align: center;
    margin-bottom: 40px;
}

.companies-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.companies-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 2.3rem; 
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.company-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.company-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  
    border-color: #007cba;
	border-left:4px solid #000;
	transition:0.6sec;
}

.company-card-content {
    display: flex;
    padding: 24px;
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.company-logo-container {
    flex-shrink: 0;
}

.company-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
}

.company-content {
    flex: 1;
    min-width: 0; /* Prevents overflow issues */
	font-weight:600;
	font-size:12px;
}



.company-openings {
display: flex;
align-items: center;
gap: 6px;
font-family: 'Poppins', sans-serif;
font-weight: 600;
font-size: 1.3rem;
color: #007cba;
margin-bottom: 12px;
}

.company-openings i {
font-size: 1.3rem;
color: #007cba;
}



.company-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.meta-item i {
    font-size: 1.2rem;
    color: #9ca3af;
    width: 14px;
    text-align: center;
}

/* Arrow positioned to not overlap content */
.company-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #005a87, #004670);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
	color:white;
}

.company-arrow i {
    color: white;
    font-size: 0.9rem;
    font-weight: 900;
}
.company-arrow:hover{
	transform:scale(1.1);
}
.company-logo{
	color:white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .companies-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-titles {
        font-size: 2.5rem;
    }
    
    .hero-subtitles {
        font-size: 16px;
    }
    
    .hero-search-container {
        flex-direction: column;
        border-radius: 12px;
        padding: 0;
       
    }
    
    .hero-search-input {
        border-radius: 0;
        padding: 15px 20px;
    }
    
    .hero-search-icon {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
    
    .hero-search-btn {
        border-radius: 15px;
        width: 100%;
        padding: 15px;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .company-card-content {
        padding: 20px;
        gap: 14px;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
 
    
    .company-arrow {
        width: 32px;
        height: 32px;
        bottom: 20px;
        right: 20px;
    }
    
	.hero-sections{
		   padding: 30px;
	}
}

@media (max-width: 480px) {
    
    
   
    
    .company-card-content {
        padding: 16px;
        gap: 12px;
    }
    
}

/* Your provided CSS styles */
.job-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding:0 !important;
    width: 100%;
	margin: 15px 0 8px 0 !important;
}

.page-btn {
    padding: 8px 16px;
    margin: 0 2px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.page-btn:hover {
    background:  linear-gradient(135deg, #005a87, #004670);
    color: white;
    border-color: #0073aa;
}

.page-btn.active {
    background:  linear-gradient(135deg, #005a87, #004670);
    color: white;
    border-color: #0073aa;
}

.page-btn.prev,
.page-btn.next {
    font-weight: bold;
    padding: 8px 12px;
}

.page-ellipsis {
    padding: 8px 8px;
    color: #666;
    display: inline-block;
}

.pagination-info {
    margin-left: 15px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

/* Rest of your existing styles remain the same */
.hero-form-container {
    width: 100%;
}

.hero-search-container {
    position: relative;
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}



.hero-search-input:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.hero-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.clear-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #6b7280;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.clear-input-icon:hover {
    background: #f3f4f6;
    color: #374151;
}
 .hero-search-input {
    width: 100%;
    padding: 10px 40px 10px 40px; /* space for search icon */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
	 color:#000;
	 border-radius:10px!important;
}

/* Search icon on left */
.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #888;
}
.hero-search-btn {
    padding: 10px 24px;
    background:  linear-gradient(135deg, #005a87, #004670);
    color: white;
    border: none;
    border-radius: 10px!important;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
    min-width: 140px;
    height: auto;
    transition: all 0.2s ease;
}

.hero-search-btn:hover {
    background:  linear-gradient(135deg, #005a87, #004670);
    transform:scale(0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    font-size: 18px;
    -webkit-overflow-scrolling: touch;
}

.hero-search-option {
    padding: 8px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: background-color 0.2s;
    touch-action: manipulation;
    font-size: 18px;
}

.hero-search-option:hover {
    background-color: #f9fafb;
}

.hero-search-option:last-child {
    border-bottom: none;
}

.hero-search-option.active {
    background-color: #007cba;
    color: white;
}

.option-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
    border: 2px solid #e5e7eb;
}

.hero-search-option.active .option-logo {
    background: white;
    color: #007cba;
    border-color: white;
}

.option-text {
    flex: 1;
    font-weight: 500;
    font-size:14px;
}

.hero-search-option.active  {
    color: rgba(255, 255, 255, 0.9);
}

.no-result {
    color: #6b7280;
    cursor: pointer;
    padding: 14px;
    text-align: center;
    font-size: 14px;
}

.highlight-click {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.no-result:hover .highlight-click {
    color: #2563eb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-search-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-input-wrapper {
        width: 100%;
    }
    
	.compare-header{
		padding:80px 20px 120px;
	}
   

    .hero-search-btn {
        width: 100%;
        min-width: auto;
   
        font-size: 16px;
    }
    
    .hero-search-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 70vh;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        font-size: 18px;
        z-index: 1001;
    }
    
    .hero-search-option {
    
        gap: 2px;
        font-size: 13px;
    }
    
    .option-logo {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-search-input {
        padding: 16px 45px 16px 40px;
       
        font-size: 18px;
    }
    
    .hero-search-btn {
     
        font-size: 15px;
    }
    
   
    
    .hero-search-dropdown {
        max-height: 182px;
    }
    
    .option-logo {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
}

/* Prevent body scroll when dropdown is open */
body.dropdown-open {
    overflow: hidden;
}

/* Companies Grid Styles */
.companies-grid-section {
    padding: 15px 0;
}

.companies-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.company-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.company-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007cba;
}

.company-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.company-card-content {
    display: flex;
    padding: 16px;
    gap: 16px;
}

.company-logo-container {
    flex-shrink: 0;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.company-content {
    flex: 1;
}

.company-name {
    font-size:18px;
    font-weight: 600;
    color:  #005a87;
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.company-rpsl {
    font-size: 14px;
    color: #1f2937;
    font-weight: normal;
}



.company-openings i {
    font-size: 12px;
}

.company-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.meta-item i {
    font-size: 12px;
    color: #9ca3af;
}

.company-arrow {
    color: white;
    transition: color 0.3s ease;
}

.company-card:hover .company-arrow {
    color: #FF7518;
}

.company-arrow i{
    color: white;
}

.no-companies-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

/* Suggest Popup Styles */
.suggest-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.suggest-popup.active {
    opacity: 1;
    visibility: visible;
}

.suggest-popup-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.suggest-popup.active .suggest-popup-content {
    transform: translateY(0);
}

.suggest-popup-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.suggest-popup-header h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 600;
}

.suggest-popup-close {
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggest-popup-close:hover {
    color: #374151;
    background: #f3f4f6;
    border-radius: 50%;
}

.suggest-popup-body {
    padding: 24px;
}

.suggest-popup-body p {
    margin: 0 0 20px 0;
    color: #374151;
    line-height: 1.5;
    font-size: 16px;
}

.suggest-input-group {
    margin-bottom: 24px;
}

#suggestCompanyName {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
}

#suggestCompanyName:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.suggest-popup-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.suggest-cancel-btn {
    padding: 12px 20px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    flex: 1;
    min-width: 120px;
    transition: all 0.2s ease;
}

.suggest-cancel-btn:hover {
    background: #f9fafb;
}

.suggest-submit-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    flex: 1;
    min-width: 120px;
    transition: all 0.2s ease;
}

.suggest-submit-btn:hover {
    background: linear-gradient(135deg, #005a87 0%, #004670 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.suggest-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mobile adjustments for popup */
@media (max-width: 480px) {
    .suggest-popup {
        padding: 10px;
    }
    
    .suggest-popup-content {
        max-height: 95vh;
    }
    
    .suggest-popup-header {
        padding: 16px 20px;
    }
    
    .suggest-popup-body {
        padding: 20px;
    }
    
    .suggest-popup-actions {
        flex-direction: column;
    }
    
    .suggest-cancel-btn,
    .suggest-submit-btn {
        width: 100%;
    }
}

/* Loading state for submit button */
.suggest-submit-btn.loading {
    position: relative;
    color: transparent;
}

.suggest-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Thank You Popup Specific Styles */
#thankYouPopup .suggest-popup-content {
    max-width: 400px;
}

#thankYouPopup .suggest-popup-body {
    text-align: center;
    padding: 40px 24px;
}

#thankYouPopup h3 {
    margin: 0 0 16px 0;
    color: #111827;
    font-size: 24px;
    font-weight: 600;
}

#thankYouPopup p {
    color: #374151;
    line-height: 1.5;
    margin: 0;
    font-size: 16px;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .company-card-content {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .company-card-content {
        flex-direction: column;
        gap: 12px;
    }
    

}
/* Search loading indicator */
.search-loading {
    padding: 10px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.search-loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { color: rgba(0,0,0,0); text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0); }
    40% { color: #666; text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0); }
    60% { text-shadow: .25em 0 0 #666, .5em 0 0 rgba(0,0,0,0); }
    80%, 100% { text-shadow: .25em 0 0 #666, .5em 0 0 #666; }
}



/* Manage Job Css */
 .subsubsub {
            margin: 8px 0 0;
            padding: 0;
        }
        .subsubsub li {
            display: inline-block;
            margin: 0;
        }
        .subsubsub a {
            line-height: 2;
            padding: 0.2em;
            text-decoration: none;
        }
        .subsubsub a.current {
            font-weight: 600;
            border: none;
        }
        .count {
            color: #646970;
        }
        .tablenav {
            height: auto;
            margin: 20px 0 10px;
        }
        .tablenav .actions {
            padding: 0 8px 0 0;
        }
        .tablenav .button {
            margin: 0 8px 0 0;
        }
        .tablenav-pages {
            float: right;
            margin: 0 0 10px;
        }
        .pagination-links {
            margin-left: 10px;
        }
        .pagination-links .button,
        .pagination-links .current-page {
            margin: 0 2px;
            padding: 5px 10px;
        }
        .current-page {
            background: #0073aa;
            color: white;
            border: 1px solid #0073aa;
        }
        .wp-list-table th.check-column {
            width: 2.2em;
        }
        .row-actions.always-visible {
            color: #50575e;
            font-size: 13px;
            padding: 2px 0 0;
            visibility: visible !important;
            opacity: 1 !important;
        }
        .row-actions.always-visible span {
            margin: 0;
        }
        .row-actions.always-visible a {
            display: inline;
            color: #50575e;
        }
        .row-actions.always-visible a:hover {
            color: #135e96;
        }
        .post-state {
            font-style: italic;
            color: #646970;
        }
        .toggle-row {
            display: none;
        }
        .search-form {
            margin: 10px 0;
        }
        .search-box {
            float: right;
            margin: 0;
        }
        .notice {
            margin: 10px 0 15px 0 !important;
            transition: opacity 0.5s ease-in-out;
        }
        .notice.fade-out {
            opacity: 0;
        }
        .hide-on-mobile {
            display: inline;
        }
        @media (max-width: 782px) {
            .hide-on-mobile {
                display: none !important;
            }
            .date.column-date {
                font-size: 12px;
            }
        }

/* ADD Company css */
 .postbox {
            margin-bottom: 20px;
        }
        .postbox-header {
            border-bottom: 1px solid #ccd0d4;
            padding: 8px 12px;
            background: #f8f9fa;
        }
        .postbox-header h2 {
            margin: 0;
            font-size: 14px;
            padding: 8px 12px;
            line-height: 1.4;
        }
        .inside {
            padding: 12px;
        }
        .editor-toolbar {
            background: #f8f9fa;
            border: 1px solid #ccd0d4;
            border-bottom: none;
            padding: 8px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .text-tabs {
            margin-left: auto;
            display: flex;
            gap: 0;
        }
        .text-tabs .button {
            margin: 0;
            border-radius: 0;
        }
        .text-tabs .button:first-child {
            border-radius: 3px 0 0 3px;
        }
        .text-tabs .button:last-child {
            border-radius: 0 3px 3px 0;
        }
        .text-tabs .button.active {
            background: #0073aa;
            color: white;
            border-color: #0073aa;
        }
        .editor-content {
            border: 1px solid #ccd0d4;
        }
        .paragraph-header {
            background: #f8f9fa;
            border-bottom: 1px solid #ccd0d4;
            padding: 8px 12px;
            font-weight: bold;
            font-size: 13px;
        }
        .wp-editor-container {
            border: none !important;
        }
        .style-notice {
            background: #f8f9fa;
            border-top: 1px solid #ccd0d4;
            margin: 0;
            padding: 8px 12px;
            font-size: 12px;
            color: #666;
        }
        .fleet-type {
            border: 1px solid #ccd0d4;
            margin-bottom: 15px;
            background: #fff;
        }
        .fleet-type h3 {
            background: #f8f9fa;
            border-bottom: 1px solid #ccd0d4;
            padding: 8px 12px;
            margin: 0;
            font-size: 14px;
        }
        .fleet-type .form-table {
            margin: 0;
            padding: 12px;
        }
        .fleet-description-section {
            border-top: 1px solid #ccd0d4;
            padding: 12px;
        }
        .fleet-description-section h4 {
            margin: 0 0 10px 0;
            font-size: 13px;
        }
        .add-fleet-section {
            padding: 12px;
            border-top: 1px solid #ccd0d4;
            background: #f8f9fa;
        }
        .form-table th {
            width: 200px;
            font-weight: 600;
        }
        .description {
            font-style: italic;
            color: #666;
            margin-top: 4px;
        }
       
        .existing-gallery {
            margin-top: 15px;
        }
        .existing-gallery h4 {
            margin-bottom: 10px;
        }
        .gallery-image {
            display: inline-block;
            margin-right: 10px;
        }
        #ajax-message-container {
            margin-bottom: 20px;
        }



/* Company Detail CSS */
.company-detail-main {
   
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.company-detail-header {
    background: #004670;
    color: white;
    padding: 40px 0;
    width: 100%;
	
}

.container {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
	max-width:100%! important;
}

.back-button {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.back-button:hover {
    color: #FF7518;
}

.company-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.company-logo-large .company-logo {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid #FF7518;
    flex-shrink: 0;
}

.company-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color:#FF7518;
    line-height: 1.2;
    word-wrap: break-word;
}

.company-rpsl {
   font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
    line-height: 1.2;
    word-wrap: break-word;
}

.company-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.stat-label {
    font-size: 16px;
    opacity: 4;
    color: white;
	font-weight:600;
}

.company-detail-content {
    padding-top: 40px ;
    width: 100%;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    width: 100%;
}

.content-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    width: 100%;
}
.contact-info{
	margin-bottom:30px;
}
.content-section h2 {
    font-size: 18px;
    color:#004670;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.section-content {
    line-height: 1.7;
    color: #4b5563;
    width: 100%;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 25px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    width: 100%;
	
}

.sidebar-section h3 {
    font-size: 18px;
    color: #004670;
    
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}
.sidebar-section:not(:last-child){
	margin-bottom:25px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
	
}

.contact-item {
   
    align-items: center;
    gap: 12px;
    color:#004670;
    font-size: 14px;
    word-break: break-word;
}

.contact-item i {
    color:#007cba;
    width: 16px;
    flex-shrink: 0;
}

.contact-item a {
    color: #1899B8;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-item a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
	max-height: 500px;
    overflow-y: auto;
	margin-bottom:8px;
}

.job-item {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
}
.job-item{
	padding:20px;
	display:flex;
}

.job-item:hover {
    border-color: #004670;
    transform: translateY(-2px);
	border-left: 3px solid #004670;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.job-content {
    flex: 1;
    min-width: 0;
}

.job-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
    word-wrap: break-word;
    line-height: 1.4;
}

.job-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #6b7280;
    flex-wrap: wrap;
}



.view-job-button {
    background: #004670;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    text-align: center;
}

.view-job-button:hover {
   
    transform:scale(1.1);
    box-shadow: #004670;
    color: white;
}

.no-openings {
    text-align: center;
    padding: 20px;
    color: #6b7280;
    font-style: italic;
}

.company-not-found {
    text-align: center;
    padding: 100px 20px;
    font-size: 18px;
    color: #6b7280;
}

/* Enhanced video container */
.video-container {
  
    border-radius: 8px;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
	
}
	.video-container a{
		color:#3b82f6;
	}
/* Mobile-First Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .company-header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .company-title {
        font-size: 32px;
    }
    
    .company-stats {
     
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .company-detail-header {
        padding: 30px 0;
    }
    
    .company-detail-content {
        padding: 40px 0;
    }
    
    .content-section, .sidebar-section {
        padding: 20px;
    }
    
    .company-title {
        font-size: 28px;
    }
    
    .company-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .job-item {
       
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
		align-items:center;
    }
    
    
    
    .view-job-button {
        width: 100%;
    }
    
    .company-logo-large .company-logo {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .company-stats {
        gap: 15px;
        align-items: center;
		justify-content:center;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .company-title {
        font-size: 24px;
    }
    
    .company-rpsl {
        font-size: 16px;
    }
    
    .content-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    .content-grid {
        grid-template-columns: 1fr;
       
    }
    .content-section h2 {
        font-size: 20px;
    }
    
    .sidebar-section h3 {
        font-size: 16px;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .job-type, .job-location {
        font-size: 12px;
    }
    
    .back-button {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

@media (max-width: 360px) {
    .company-title {
        font-size: 22px;
    }
    
    .company-rpsl {
        font-size: 14px;
    }
    
    .content-section, .sidebar-section {
        padding: 12px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .company-logo-large .company-logo {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for very small screens */
@media (max-width: 320px) {
    .company-title {
        font-size: 20px;
    }
    
    .company-stats {
        gap: 10px;
    }
    
    .stat-item {
        min-width: 80px;
    }
}


/* Compare Company Css */
.compare-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), 
                url('http://jobs.gpratingacademy.com/wp-content/uploads/2025/10/ship.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 50px 20px 120px;
    text-align: center;
    max-width: 1440px;

	
}

.compare-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
}

.accent-text {
    font-style: italic; 
    color: #FF7518;
}

/* Comparison Tool */
.comparison-tool {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 15px;
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
   
}
	.search-input-wrapper:focus{
		 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}
.hero-search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border-radius: 15px;
    border: none;
    font-size: 1em;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero-search-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #999;
}

.clear-input-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.clear-input-icon:hover {
    color: #666;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9em;
    color: #333;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.separator-arrow {
    color: white;
    font-size: 1.5em;
    font-weight: 300;
    padding: 0 5px;
}

.compare-button {
    background-color: #FF7518;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 10px!important;
    font-weight: bold;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.2s;
}

.compare-button:hover {
    background-color: #FF7518;
    transform: scale(0.9);
    color: white;
}

/* 2. MAIN SECTION STYLES */
.popular-comparisons-section {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 40px 30px 60px;
    max-width: 1200px;
    margin: -50px auto 10px;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background-color: #FFC300;
    margin: 10px auto 0;
    border-radius: 2px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* UPDATED STYLES FOR THE COMPARISON CARDS - Side-by-Side Structure */
.comparison-card {
    /* Use Flexbox for horizontal arrangement of the three main sections */
    display: flex;
    justify-content: space-between;
  
    text-align:center;
	align-items:center;
    padding: 15px 20px; 
    background-color: #f5f5f5;
    border-radius: 8px; 
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.2s, box-shadow 0.2s;
    text-align: center;
    min-height: 100px; 
}

.comparison-card:hover {
    background-color: #ebebeb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.popular-comparisons-section{
	     margin-bottom:  40px;
}
.company-side {
    display: flex;
    flex-direction: column; /* Logo on top, Name below */
    align-items: center;
    gap: 8px;
    flex: 1; 
    padding: 0 5px;
}

.comparison-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px; 
    padding: 0 15px;
    flex: 0 0 auto; 
}

.company-logo-initial {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #004670; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-weight: bold;
    overflow: hidden; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.company-logo-initial img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    padding: 5px;
}

.company-name {
    font-size: 0.9em; 
    font-weight: 600;
   

   
}

.vs-label {
    font-weight: bold;
    color: #999;
    font-size: 0.8em;
    padding: 0; 
}

.details-button {
    padding: 6px 10px; 
    background-color: #333; 
    color: white;
    border-radius: 20px;
    font-size: 0.75em; 
    font-weight: 700;
    transition: background-color 0.2s;
}

.comparison-card:hover .details-button {
    background-color: #FF7518; 
    color: #333;
}
/* END UPDATED STYLES FOR THE COMPARISON CARDS */


.no-comparisons {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* RESPONSIVENESS */
@media (max-width: 900px) {
    .comparison-grid {
       grid-template-columns: 2 1fr;
    }
		.comparison-center{
		display:none;
	}

}
	
@media (max-width: 768px) {
    .compare-header h1 {
        font-size: 2em;
    }
    
    .comparison-tool {
        flex-direction: column;
        gap: 5px;
    }
    
    .search-input-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .separator-arrow {
        display: none;
    }
    
    .compare-button {
        width: 100%;
	   margin-top:10px;

    }

    .popular-comparisons-section {
        margin: -50px 20px 40px;
        padding: 30px 15px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Card Adjustment */
    .comparison-card {
        gap: 15px;
    }

    .comparison-center {
        padding: 10px 0;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        width: 100%;
    }
}

/* Compare company detail css*/
/* Comparison Detail Page Styles - V2 */
.comparison-detail-page-v2 {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
}

.container-v2 {
    max-width: 1440px;
    margin: 0 auto;
    
}

/* Header */
.comparison-header-v2 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), 
                url('http://jobs.gpratingacademy.com/wp-content/uploads/2025/10/ship.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 30px ;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
  
}

.breadcrumb-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.85em;
    opacity: 0.8;
    flex-wrap: wrap;
}

.breadcrumb-v2 a {
    color: #e3f2fd;
    text-decoration: none;
}

.comparison-hero-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.comparison-hero-v2.two-companies {
    max-width: 800px;
}

.comparison-hero-v2.three-companies {
    max-width: 1100px;
}

.company-hero-v2 {
    text-align: center;
    flex: 1;
    min-width: 200px;
    position: relative;
}

.company-logo-large-v2 img,
.logo-placeholder-v2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
 
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder-v2 i {
    font-size: 1.7em;
    color: #007cba;
}

.company-title-v2 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: white;
}

.company-rpsl-badge {
    background: rgba(246, 182, 40, 0.9);
    color: #1a237e;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: 600;
    display: inline-block;
}

.vs-hero-v2 {
    flex-shrink: 0;
}

.vs-circle-large-v2 {
    background: white;
    color:black;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1em;
}

/* Main Content Sections */
.comparison-content-v2 {
    margin-top:20px ;
	margin-bottom:20px;
}

.comparison-section-v2 {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-title-v2 {
    font-size: 1.4em;
    font-weight: 700;
    color: #005a87;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title-v2 i {
    color: #FF7518;
}

/* Section Header with Action */
.section-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Add Company Button Styles */
.add-company-btn-v2 {
    background: #004670;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.add-company-btn-v2:hover {
    background: #004670;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.remove-company-btn-v2 {
    background: #004670;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95em;
}

.remove-company-btn-v2:hover {
    background: #004670;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    color:white;
}

.add-company-form-v2 {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-container-v2 {
    position: relative;
    flex: 1;
    min-width: 300px;
}

#company-search {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #007cba;
    border-radius: 6px;
    font-size: 1em;
    transition: all 0.3s ease;
}

#company-search:focus {
    outline: none;
    border-color: #005a87;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.search-results-v2 {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.company-name {
    font-weight: 600;
    color: #005a87;
    margin-bottom: 3px;
}

.company-rpsl {
    font-size: 0.85em;
    color: white;
}

.cancel-btn-v2 {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cancel-btn-v2:hover {
    background: #5a6268;
}

/* Comparison Table - DESKTOP */
.comparison-table-v2 {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table-header {
    display: grid;
    background: #e9ecef;
    font-weight: 700;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.two-companies .comparison-table-header {
    grid-template-columns: 250px 1fr 1fr;
}

.three-companies .comparison-table-header {
    grid-template-columns: 250px 1fr 1fr 1fr;
}

.header-label {
    text-align: left;
    padding: 15px 25px;
}

.header-company {
    padding: 15px;
    border-left: 1px solid #e0e0e0;
}

.table-row-v2 {
    display: grid;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.two-companies .table-row-v2 {
    grid-template-columns: 250px 1fr 1fr;
}

.three-companies .table-row-v2 {
    grid-template-columns: 250px 1fr 1fr 1fr;
}

.table-row-v2:nth-child(even) {
    background: #fcfcfc;
}

.table-row-v2:last-child {
    border-bottom: none;
}

.row-label {
    padding: 15px 25px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.row-label i {
    color: #007cba;
    width: 16px;
}


 .row-value {
    padding: 15px;
    border-left: 1px solid #f0f0f0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight:600;
     }

/* Overview Section */
.overview-grid-v2.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.overview-grid-v2.three-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.overview-card-v2 {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid #007cba;
    height: 100%;
}

.overview-card-v2 h3 {
    font-size: 1.2em;
    color: #005a87;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.company-description-v2 {
    line-height: 1.5;
    color: #666;
	font-weight:500;
}

.overview-sentence {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
    line-height: 1.6;
}

.overview-sentence:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Contact Section */
.contact-grid-v2.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-grid-v2.three-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.contact-card-v2 {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    height: 100%;
}

.contact-header-v2 {
    font-size: 1.2em;
    color: #005a87;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-details-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
	font-weight:500;
}

.contact-item-v2 {
    
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95em;
}

.contact-item-v2 i {
    color: #007cba;
    margin-top: 2px;
    flex-shrink: 0;
}

.address-item span {
    display: block;
    margin-top: -1.5em;
    margin-left: 26px;
}

/* Status and Links */
.status-yes-v2 {
    background: #e6ffed;
    color: #00796b;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap;
}

.status-no-v2 {
    background: #ffe6e6;
    color: #c62828;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap;
}

.website-link-v2,
.email-link-v2 {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    word-break: break-word;
}

.no-data-v2 {
    color: #999;
    font-style: italic;
}

/* Actions */
.comparison-actions-v2 {
    display: flex;
    justify-content: center;
    gap: 20px;
 
    flex-wrap: wrap;
}

.back-button-v2, .print-button-v2 {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.back-button-v2 {
    background: #004670;
    color: white;
}

.back-button-v2:hover {
    background: #005a87;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.print-button-v2 {
    background: #FF7518;
    color: #333;
    border: 1px solid #FF7518;
}

.print-button-v2:hover {
    background: #e0a724;
    color: white;
    box-shadow: 0 4px 15px rgba(246, 182, 40, 0.4);
}

/* ========== UPDATED MOBILE STRUCTURE ========== */

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
    
    .two-companies .comparison-table-header {
    grid-template-columns:  1fr 1fr;
}
   
    .overview-grid-v2.two-columns {

    grid-template-columns: 1fr;
    gap: 4px;
}
	.overview-grid-v2.three-columns{
		 grid-template-columns: 1fr;
		  gap: 4px;
	}
	.contact-grid-v2.two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
    .comparison-section-v2 {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .section-title-v2 {
        font-size: 1.2em;
        margin-bottom: 20px;
    }
    
    
    
    .add-company-form-v2 {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container-v2 {
        min-width: auto;
    }
    
    /* Header Layout */
    .comparison-hero-v2 {
        gap: 20px;
    }
    
    .company-hero-v2 {
        min-width: auto;
        width: 100%;
    }
    
    .vs-hero-v2 {
        display: none;
    }
    
    
    /* NEW: Mobile Structure with Feature Labels Centered Above Values */
    .comparison-table-v2 {
        border: none;
        border-radius: 0;
        overflow: visible;
    }
    
    .comparison-table-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #e9ecef;
        border-radius: 8px 8px 0 0;
        margin-bottom: 0;
    }
    
    .three-companies .comparison-table-header {
        grid-template-columns: 1fr 1fr;
    }
    
    .header-label {
        display: none;
    }
    
    .header-company {
        padding: 12px 10px;
        text-align: center;
        font-size: 0.9em;
        border-left: none;
        border-right: 1px solid #e0e0e0;
    }
    
    .header-company:last-child {
        border-right: none;
    }
    
    /* NEW: Feature labels as separate rows with values below */
    .table-row-v2 {
        display: block;
        border: none;
        margin-bottom: 0;
        padding: 0;
        background: white;
    }
    
    .row-label {
        display: block;
        background: #f8f9fa;
        padding: 15px;
        text-align: center;
        font-weight: 700;
        color: #005a87;
        border-bottom: 1px solid #e0e0e0;
        margin: 0;
        border-left: none;
        border-right: none;
        justify-content: center;
    }
    
    .row-label i {
        display: inline-flex;
        margin-bottom: 0;
    }
    
    /* Values row */
    .table-row-v2::after {
        content: "";
        display: table;
        clear: both;
    }
	 .row-value {
        float: left;
        width: 50%;
        padding: 15px 10px;
        border-left: none;
        border-right: 1px solid #f0f0f0;
        border-bottom: 1px solid #e0e0e0;
        min-height: auto;
        text-align: center;
        font-size: 0.95em;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    
    .three-companies .row-value {
        width: 33.333%;
    }
    
    .row-value:last-child {
        border-right: none;
    }
    
    .row-value.company-left-v2,
    .row-value.company-third-v2 {
        background: white;
		font-weight:600;
    }
    
    /* Grid Layouts */
    .overview-grid-v2.two-columns,
    .overview-grid-v2.three-columns,
    .contact-grid-v2.two-columns,
    .contact-grid-v2.three-columns {
      
        gap: 10px;
    }
    
    .contact-item-v2 {
        
        align-items: flex-start;
        gap: 5px;
    }
    
    .address-item span {
        margin-top: 0;
        margin-left: 0;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .comparison-table-header {
        grid-template-columns: 1fr 1fr;
    }
    
    .three-companies .comparison-table-header {
        grid-template-columns: 1fr 1fr 1fr;
    }
     .two-companies .comparison-table-header {
        grid-template-columns:  1fr 1fr;
    }
.overview-grid-v2.two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
	.contact-grid-v2.three-columns {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 20px;
}
	.contact-grid-v2.two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
	.contact-grid-v2.three-columns {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 20px;
}
	
    .header-company {
        padding: 10px 5px;
        font-size: 0.8em;
    }
    
    .row-label {
        padding: 12px 10px;
        font-size: 0.9em;
    }
    
    .row-value {
        padding: 12px 5px;
        font-size: 0.9em;
		font-weight:600;
    }
    
    .company-title-v2 {
        font-size: 0.9em;
    }
    
    .company-logo-large-v2 img,
    .logo-placeholder-v2 {
        width: 50px;
        height: 50px;
    }
    
    .breadcrumb-v2 {
        font-size: 0.75em;
    }
    
    .section-title-v2 {
        font-size: 1em;
    }
    
    .overview-card-v2 h3,
    .contact-header-v2 {
        font-size: 1.1em;
    }
    

   
    
    .back-button-v2, .print-button-v2 {
        justify-content: center;
    }
}

/* Large Desktop Screens (1200px and above) */
@media (min-width: 1200px) {
    .container-v2 {
        max-width: 1400px;
    }
    
    .comparison-hero-v2.two-companies {
        max-width: 900px;
    }
    
    .comparison-hero-v2.three-companies {
        max-width: 1200px;
    }
    
    .company-logo-large-v2 img,
    .logo-placeholder-v2 {
        width: 90px;
        height: 90px;
    }
    
    .company-title-v2 {
        font-size: 1.2em;
    }
}

/* Print Styles */
@media print {
    .comparison-actions-v2,
    .breadcrumb-v2,
    .add-company-btn-v2,
    .remove-company-btn-v2,
    .add-company-form-v2 {
        display: none;
    }
    
    .comparison-header-v2 {
        background: #005a87 !important;
        color: black !important;
    }
    
    .comparison-section-v2 {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}