/* Company Details Page - Bento Grid Modern Design */

/* Main Content Layout */
.company-details-wrapper {
    padding-top: 3rem;
}

/* Bento Grid Container */
.cadidate-details-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cadidate-details-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Bento Grid Items - Different Sizes */
.company-info-card {
    grid-column: span 2;
}

.contact-info-card {
    grid-column: span 1;
    grid-row: span 2;
}

.map-location-card {
    grid-column: span 1;
}

.social-media-card {
    grid-column: span 1;
}

@media (max-width: 767px) {
    .company-info-card,
    .contact-info-card,
    .map-location-card,
    .social-media-card {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Company Description Card */
.company-description-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #f3f4f6;
    margin-bottom: 2rem;
}

.company-description-header {
    background: var(--primary-500, #0A65CC);
    padding: 1.5rem 2rem;
}

.company-description-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.company-description-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-description-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.company-description-body {
    padding: 2rem;
}

.company-description-text {
    color: #6b7280;
    line-height: 1.75;
    font-size: 1rem;
}

/* Share Profile Section */
.share-profile-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #f3f4f6;
    margin-bottom: 2rem;
    padding: 2rem;
}

.share-profile-header {
    background: var(--primary-500, #0A65CC);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.share-profile-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.share-btn-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.share-btn-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.share-btn-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.share-btn-pinterest:hover {
    background: #e60023;
    border-color: #e60023;
    color: white;
}

/* Sidebar Cards */
.company-info-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: visible;
    border: 1px solid #f3f4f6;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.company-info-header {
    background: var(--primary-500, #0A65CC);
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
}

.company-info-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.company-info-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-info-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.company-info-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.info-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(to bottom right, #f0f9ff, #e0f2fe);
    border-radius: 1rem;
    border: 2px solid #e0f2fe;
    transition: all 0.3s;
}

.info-box:hover {
    background: linear-gradient(to bottom right, #dbeafe, #bfdbfe);
    border-color: #93c5fd;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.info-box-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-500, #0A65CC);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.info-box-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.info-box-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.info-box-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Contact Information Card */
.contact-info-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: visible;
    border: 1px solid #f3f4f6;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.contact-info-header {
    background: var(--primary-500, #0A65CC);
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
}

.contact-info-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(to right, #f3f4f6, #e5e7eb);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.contact-item:hover {
    background: linear-gradient(to right, #e5e7eb, #d1d5db);
    transform: translateX(4px);
}

.contact-item-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-500, #0A65CC);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.contact-item-content {
    flex: 1;
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-item-value {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.contact-item-value a {
    color: var(--primary-500, #0A65CC);
    text-decoration: none;
}

.contact-item-value a:hover {
    color: var(--primary-700, #084992);
}

/* Map Location Card */
.map-location-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: visible;
    border: 1px solid #f3f4f6;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.map-location-header {
    background: var(--primary-500, #0A65CC);
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
}

.map-location-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.map-container {
    height: 300px;
    border-radius: 0 0 1.5rem 1.5rem;
    overflow: hidden;
    flex: 1;
}

/* Social Media Card */
.social-media-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: visible;
    border: 1px solid #f3f4f6;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.social-media-header {
    background: var(--primary-500, #0A65CC);
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
}

.social-media-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

.social-media-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.social-icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-icon-btn {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #f3f4f6, #e5e7eb);
    border-radius: 0.75rem;
    transition: all 0.3s;
    border: 2px solid #e5e7eb;
    text-decoration: none;
}

.social-icon-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.social-icon-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.social-icon-btn.facebook:hover {
    background: linear-gradient(to bottom right, #1877f2, #0c63d4);
    border-color: #1877f2;
}

.social-icon-btn.facebook:hover svg {
    color: white;
}

.social-icon-btn.twitter:hover {
    background: linear-gradient(to bottom right, #1da1f2, #0c85d0);
    border-color: #1da1f2;
}

.social-icon-btn.twitter:hover svg {
    color: white;
}

.social-icon-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
}

.social-icon-btn.instagram:hover svg {
    color: white;
}

.social-icon-btn.youtube:hover {
    background: linear-gradient(to bottom right, #ff0000, #cc0000);
    border-color: #ff0000;
}

.social-icon-btn.youtube:hover svg {
    color: white;
}

.social-icon-btn.linkedin:hover {
    background: linear-gradient(to bottom right, #0077b5, #005582);
    border-color: #0077b5;
}

.social-icon-btn.linkedin:hover svg {
    color: white;
}

.social-icon-btn.whatsapp:hover {
    background: linear-gradient(to bottom right, #25d366, #1da851);
    border-color: #25d366;
}

.social-icon-btn.whatsapp:hover svg {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .company-info-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}
