/* Enlarged Employee Card Modal Styles */

/* Modal Overlay */
.enlarged-card-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    overflow: hidden;
}

.enlarged-card-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal Container */
.enlarged-card-modal-container {
    position: relative;
    width: 90%;
    height: 85%;
    max-width: 1600px;
    max-height: 900px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.enlarged-card-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

.enlarged-card-modal-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.enlarged-card-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.enlarged-card-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Modal Body - Three Column Layout */
.enlarged-card-modal-body {
    flex: 1;
    display: grid;
    grid-template-columns: 30% 35% 35%;
    gap: 20px;
    padding: 25px;
    overflow: hidden;
}

/* Column Styles */
.enlarged-card-column {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
.enlarged-card-column::-webkit-scrollbar {
    width: 8px;
}

.enlarged-card-column::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.enlarged-card-column::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.enlarged-card-column::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Column A - Photo + Basic Info */
.enlarged-card-column-a {
    background: rgba(0, 191, 255, 0.05);
}

.enlarged-card-photo {
    text-align: center;
    margin-bottom: 25px;
}

.enlarged-card-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00bfff;
    box-shadow: 0 8px 24px rgba(0, 191, 255, 0.3);
}

.enlarged-card-photo .no-image-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #00bfff;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #00bfff;
    margin: 0 auto;
}

.enlarged-card-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.enlarged-card-position {
    font-size: 1.1rem;
    color: #00bfff;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.enlarged-card-role {
    font-size: 1rem;
    color: #888888;
    font-style: italic;
    text-align: center;
    margin-bottom: 15px;
}

.enlarged-card-section {
    margin-bottom: 20px;
}

.enlarged-card-section h4 {
    color: #00bfff;
    font-size: 1rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.enlarged-card-section p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 8px 0;
}

.enlarged-card-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 0.9rem;
}

.enlarged-card-contact-item a {
    color: #00bfff;
    text-decoration: none;
}

.enlarged-card-contact-item a:hover {
    text-decoration: underline;
}

.enlarged-card-list-item {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 8px 0;
    padding-left: 12px;
    border-left: 2px solid #00bfff;
}

.enlarged-card-education-item {
    margin-bottom: 12px;
}

.enlarged-card-education-item .institution {
    color: #00bfff;
    font-weight: 600;
}

.enlarged-card-education-item .degree {
    color: #cccccc;
    font-size: 0.9rem;
}

.enlarged-card-education-item .specialty {
    color: #888888;
    font-size: 0.85rem;
    font-style: italic;
}

.enlarged-card-projects-toggle {
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
    border: 1px solid #00bfff;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.enlarged-card-projects-toggle:hover {
    background: rgba(0, 191, 255, 0.2);
}

.enlarged-card-projects-list {
    margin-top: 12px;
}

.enlarged-card-project-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 3px solid #00bfff;
}

.enlarged-card-project-item strong {
    color: #00bfff;
    display: block;
    margin-bottom: 6px;
}

.enlarged-card-project-item p {
    color: #888888;
    font-size: 0.85rem;
    margin: 4px 0;
}

.enlarged-card-project-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 6px;
}

.enlarged-card-project-link:hover {
    color: #00bfff !important;
    text-decoration: underline !important;
}

/* Column B - Software + Live Hardware */
.enlarged-card-column-b {
    background: rgba(0, 255, 136, 0.05);
}

/* Column C - Static Hardware */
.enlarged-card-column-c {
    background: rgba(255, 107, 53, 0.05);
}

/* Computer Section Styles */
.enlarged-card-computer-section {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid;
}

.enlarged-card-computer-section.live-data {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.enlarged-card-computer-section.static-data {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.enlarged-card-computer-section h4 {
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.enlarged-card-computer-section.live-data h4 {
    color: #00ff88;
}

.enlarged-card-computer-section.static-data h4 {
    color: #ff6b35;
}

.enlarged-card-computer-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 2px solid;
}

.enlarged-card-computer-section.live-data .enlarged-card-computer-details {
    border-color: #00ff88;
}

.enlarged-card-computer-section.static-data .enlarged-card-computer-details {
    border-color: #ff6b35;
}

.enlarged-card-computer-item {
    color: #cccccc;
    font-size: 0.85rem;
    margin: 6px 0;
    line-height: 1.5;
}

.enlarged-card-computer-item strong {
    color: #888888;
    margin-right: 8px;
}

/* Software Requirements Section */
.enlarged-card-software-section {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dda0dd;
    background: rgba(221, 160, 221, 0.1);
}

.enlarged-card-software-section h4 {
    color: #dda0dd;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.enlarged-card-software-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.enlarged-card-software-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid;
    transition: all 0.3s ease;
    cursor: help;
}

.enlarged-card-software-badge.enabled {
    background: rgba(128, 0, 128, 0.3);
    color: #dda0dd;
    border-color: rgba(128, 0, 128, 0.5);
}

.enlarged-card-software-badge.enabled:hover {
    background: rgba(128, 0, 128, 0.4);
    border-color: rgba(128, 0, 128, 0.7);
    transform: translateY(-1px);
}

.enlarged-card-software-badge.disabled {
    background: rgba(128, 0, 128, 0.1);
    color: #888888;
    border-color: rgba(128, 0, 128, 0.2);
}

/* Data Source Badges */
.enlarged-card-data-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid;
}

.enlarged-card-data-badge.live {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.3);
}

.enlarged-card-data-badge.static {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    border-color: rgba(255, 107, 53, 0.3);
}

.enlarged-card-data-badge.software {
    background: rgba(221, 160, 221, 0.2);
    color: #dda0dd;
    border-color: rgba(221, 160, 221, 0.3);
}

/* Navigation Buttons */
.enlarged-card-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.enlarged-card-nav-button:hover {
    background: rgba(0, 191, 255, 0.8);
    border-color: #00bfff;
    transform: translateY(-50%) scale(1.1);
}

.enlarged-card-nav-button:active {
    transform: translateY(-50%) scale(0.95);
}

.enlarged-card-nav-button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.enlarged-card-nav-button.left {
    left: -70px;
}

.enlarged-card-nav-button.right {
    right: -70px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .enlarged-card-modal-body {
        grid-template-columns: 30% 35% 35%;
    }
    
    .enlarged-card-nav-button.left {
        left: 15px;
    }
    
    .enlarged-card-nav-button.right {
        right: 15px;
    }
}

@media (max-width: 1200px) {
    .enlarged-card-modal-container {
        width: 95%;
        height: 90%;
    }
    
    .enlarged-card-modal-body {
        grid-template-columns: 1fr;
        gap: 15px;
        overflow-y: auto;
    }
    
    .enlarged-card-column {
        overflow-y: visible;
    }
    
    .enlarged-card-photo img,
    .enlarged-card-photo .no-image-placeholder {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .enlarged-card-modal-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .enlarged-card-nav-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .enlarged-card-nav-button.left {
        left: 10px;
    }
    
    .enlarged-card-nav-button.right {
        right: 10px;
    }
}

/* Icon styles reused from main cards */
.enlarged-card-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.enlarged-card-icon.email {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300bfff"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.enlarged-card-icon.phone {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300bfff"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}

.enlarged-card-icon.chat {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300bfff"><path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4l4 4 4-4h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/></svg>');
}

.enlarged-card-icon.computer {
    width: 16px;
    height: 16px;
}

/* Empty state */
.enlarged-card-empty {
    color: #888888;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

