/* Proje Detay Panel - Yeni Radikal Layout - Brutalist Stil */

.project-detail-panel,
.project-detail-panel * {
    box-sizing: border-box;
}

.project-detail-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f4f6f8;
    z-index: 10002;
    display: none;
    flex-direction: column;
    font-family: 'Google Sans Code', monospace;
    overflow: hidden !important;
    width: 100vw;
    max-width: 100vw;
    border-right: 3px solid #000000 !important;
}

.project-detail-panel.active {
    display: flex;
}

/* Breadcrumb Logo - Orijinal Harita Ekranı Stili */
.project-detail-breadcrumb-logo {
    font-family: 'Syne Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    position: relative;
    padding: 4px 8px;
    margin-right: 4px;
    display: inline-block;
    border: 2px solid #000000;
    background: #ffffff;
    cursor: pointer;
    user-select: none;
    transform-style: preserve-3d;
    transform: perspective(500px) rotateX(0deg);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

.project-detail-breadcrumb-logo::after {
    display: none;
}

.project-detail-breadcrumb-logo:hover {
    transform: perspective(500px) rotateX(-3deg) translateY(-1px) scale(0.98);
}

.project-detail-breadcrumb-logo:active {
    transform: perspective(500px) rotateX(-6deg) translateY(2px) scale(0.96);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.6, 1);
}

.project-detail-breadcrumb-logo .brand-arc {
    color: #000000;
}

.project-detail-breadcrumb-logo .brand-cap {
    color: #ff2b2b;
}

/* Content Container */
.project-detail-content {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 15px;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 100vw;
}

/* Breadcrumb ve Başlık Satırı */
.project-detail-header {
    margin-bottom: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.project-detail-breadcrumb {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-detail-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
    font-weight: 600;
    cursor: pointer;
}

.project-detail-breadcrumb a:hover {
    color: #ff2b2b;
    text-decoration: none;
}

.project-detail-breadcrumb a:not(.project-detail-breadcrumb-logo) {
    padding: 2px 4px;
    border-radius: 2px;
}

.project-detail-breadcrumb a:not(.project-detail-breadcrumb-logo):hover {
    background: #f4f6f8;
    text-decoration: none;
}

.project-detail-breadcrumb-separator {
    color: #111111;
    font-weight: 700;
}

.project-detail-header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}

.project-detail-title-section {
    flex: 0 0 auto;
    min-width: 200px;
    text-align: center;
}

.project-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #111111;
    margin: 0 auto;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
    padding: 4px 10px;
    z-index: 1;
    width: fit-content;
    text-align: center;
    line-height: 1.3;
}

.project-detail-title::before {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(-0.5deg);
    height: 1.2em;
    background: #ff2b2b;
    z-index: -1;
    border-radius: 4px 2px 4px 2px;
    opacity: 0.95;
    box-shadow: 0 2px 4px rgba(255, 43, 43, 0.4);
    width: calc(100% + 12px);
    line-height: 1.2;
    pointer-events: none;
}

.project-detail-status-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    position: absolute;
    right: 0;
    top: 0;
}

.project-detail-status-badge {
    padding: 3px 8px;
    border-radius: 0;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffffff;
    color: #111111;
    border: 2px solid #000000;
    line-height: 1.1;
}

.project-detail-status-badge.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.project-detail-status-badge.waiting,
.project-detail-status-badge.pending {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
}

.project-detail-status-badge.completed {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.project-detail-status-badge.paused {
    background: #6b7280;
    color: #ffffff;
    border-color: #6b7280;
}

.project-detail-status-badge.rejected,
.project-detail-status-badge.revision {
    background: #ff2b2b;
    color: #ffffff;
    border-color: #ff2b2b;
}

.project-detail-meta {
    font-size: 8px;
    color: #6b7280;
    text-align: right;
    font-weight: 600;
    line-height: 1.2;
}

/* Ana Grid Layout */
.project-detail-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 15px;
    margin-top: 2px;
    flex: 1;
    min-height: 0;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

/* Sağ kolon için brutalist border */
.project-detail-grid > div:last-child {
    border-right: 3px solid #000000 !important;
    padding-right: 12px !important;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .project-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .project-detail-grid > div:last-child {
        border-right: 3px solid #000000 !important;
        padding-right: 12px !important;
    }
}

/* Kartlar */
.project-detail-card {
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 0;
    padding: 25px;
    transition: all 0.15s ease;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    min-height: 0;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
}

.project-detail-card:hover {
    box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.15);
}

.project-detail-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 3px solid #000000;
    padding-bottom: 6px;
    flex-shrink: 0;
}

.project-detail-card-title {
    font-size: 12px;
    font-weight: 700;
    color: #111111;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 1px 4px;
    z-index: 1;
    width: fit-content;
}

.project-detail-card-title::before {
    content: '';
    position: absolute;
    left: -3px;
    right: -3px;
    top: 50%;
    transform: translateY(-50%) rotate(-0.6deg);
    height: 1.05em;
    background: #ff2b2b;
    z-index: -1;
    border-radius: 3px 1px 3px 1px;
    opacity: 0.95;
    box-shadow: 0 1px 2px rgba(255, 43, 43, 0.3);
    width: calc(100% + 6px);
    letter-spacing: 0.5px;
    line-height: 1.3;
    pointer-events: none;
}

/* Sol Kart: Parsel ve Proje Özeti */
.project-summary-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.project-summary-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.project-summary-info-label {
    font-size: 9px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
}

.project-summary-info-value {
    font-size: 11px;
    color: #111111;
    font-weight: 700;
    line-height: 1.4;
}

/* İlerleme Çubukları */
.project-progress-section {
    margin-bottom: 8px;
    flex-shrink: 0;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.project-progress-item {
    margin-bottom: 6px;
}

.project-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
    font-size: 9px;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    line-height: 1.3;
}

.project-progress-bar {
    width: 100%;
    height: 12px;
    background: #111827;
    border: 2px solid #000000;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 0;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

/* Timeline */
.project-timeline {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 3px solid #000000;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    max-height: none;
}

.project-timeline-item {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
    padding-right: 4px;
    transition: all 0.15s ease;
    cursor: pointer;
}

.project-timeline-item:hover {
    transform: translateX(2px);
}

.project-timeline-item:hover::before {
    transform: rotate(45deg) scale(1.1);
}

.project-timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: #3b82f6;
    border: 2px solid #000000;
    z-index: 1;
    transform: rotate(45deg);
    transition: all 0.15s ease;
}

.project-timeline-item::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 2px;
    height: calc(100% + 6px);
    background: #000000;
}

.project-timeline-item:last-child::after {
    display: none;
}

/* Hızlı İstatistikler */
.project-quick-stats {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 2px solid #000000;
    flex-shrink: 0;
}

.project-quick-stats-title {
    font-size: 8px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
}

.project-quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.project-quick-stat-item {
    padding: 6px;
    background: #f4f6f8;
    border: 2px solid #000000;
    text-align: center;
    transition: all 0.15s ease;
}

.project-quick-stat-item:hover {
    background: #ffffff;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.1);
}

.project-quick-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1.2;
    margin-bottom: 2px;
}

.project-quick-stat-label {
    font-size: 7px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1.1;
}

/* Proje Notları */
.project-notes-section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 2px solid #000000;
    flex-shrink: 0;
}

.project-notes-title {
    font-size: 8px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.project-notes-content {
    font-size: 9px;
    color: #111111;
    line-height: 1.4;
    font-weight: 400;
    padding: 6px;
    background: #f4f6f8;
    border: 2px solid #000000;
    max-height: 80px;
    overflow: hidden;
}

.project-timeline-item.completed::before {
    background: #10b981;
}

.project-timeline-item.warning::before,
.project-timeline-item.pending::before {
    background: #f59e0b;
}

.project-timeline-item.revision::before,
.project-timeline-item.rejected::before {
    background: #ff2b2b;
}

.project-timeline-item.active::before,
.project-timeline-item.in_progress::before {
    background: #3b82f6;
}

.project-timeline-content {
    flex: 1;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.project-timeline-title {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 3px;
    line-height: 1.4;
}

.project-timeline-date {
    font-size: 9px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1.3;
}

/* Sağ Üst Kart: Ekip ve Görevler */
.project-team-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 4px;
    border-bottom: 3px solid #000000;
    flex-shrink: 0;
}

.project-team-tab {
    padding: 6px 12px;
    background: #ffffff;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    font-family: 'Google Sans Code', monospace;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: -3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-team-tab.active {
    color: #111111;
    border-bottom-color: #3b82f6;
    background: #ffffff;
    border-bottom-width: 3px;
}

.project-team-tab:hover {
    color: #111111;
    background: #f4f6f8;
}

.project-team-content {
    display: none;
    flex: 1;
    min-height: 0;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.project-team-content.active {
    display: flex;
    flex-direction: column;
}

.project-team-member-actions {
    display: flex !important;
    gap: 4px !important;
    align-items: center !important;
    margin-top: 8px !important;
    flex-wrap: wrap !important;
    visibility: visible !important;
}

.project-external-contact-actions {
    display: flex !important;
    gap: 4px !important;
    margin-top: 8px !important;
    flex-wrap: wrap !important;
    visibility: visible !important;
}

.project-team-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 2px solid #000000;
    transition: all 0.15s ease;
}

.project-team-member:hover {
    background: #f4f6f8;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.project-team-member:last-child {
    border-bottom: none;
}

.project-team-member-info {
    flex: 1;
}

.project-team-member-name {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1px;
    line-height: 1.2;
}

.project-team-member-role {
    font-size: 8px;
    color: #6b7280;
    font-weight: 600;
    line-height: 1.1;
}

.project-team-member-status {
    padding: 6px 12px;
    border-radius: 0;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffffff;
    color: #111111;
    border: 2px solid #000000;
    line-height: 1.2;
}

.project-team-member-status.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.project-team-member-status.completed {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.project-team-member-status.waiting,
.project-team-member-status.pending {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
}

/* Sağ Alt Kart: Belgeler ve 3B İçerik */
.project-documents-section {
    margin-bottom: 6px;
    flex-shrink: 0;
}

.project-documents-section:last-child {
    margin-bottom: 0;
}

.project-documents-section-title {
    font-size: 8px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.1;
}

.project-documents-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    gap: 8px;
}

.project-documents-filter {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
}

.project-documents-filter-btn {
    padding: 2px 6px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 7px;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.project-documents-filter-btn:hover {
    background: #f4f6f8;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.1);
}

.project-documents-filter-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.project-documents-3d.empty {
    opacity: 0.6;
}

.project-documents-3d.empty .project-documents-3d-subtitle {
    color: #9ca3af;
}

.project-documents-3d {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
    background: #f4f6f8;
    border: 2px solid #000000;
    border-radius: 0;
    margin-bottom: 4px;
}

.project-documents-3d-info {
    flex: 1;
}

.project-documents-3d-title {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1px;
    line-height: 1.2;
}

.project-documents-3d-subtitle {
    font-size: 8px;
    color: #6b7280;
    font-weight: 600;
    line-height: 1.1;
}

.project-documents-3d-button {
    padding: 4px 10px;
    background: #3b82f6;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    font-family: 'Google Sans Code', monospace;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-documents-3d-button:hover {
    background: #ffffff;
    color: #3b82f6;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 #000000;
}

.btn-danger {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.btn-danger:hover {
    background: #dc2626;
    color: #ffffff;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.1);
}

.project-documents-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    margin-bottom: 4px;
}

.project-documents-chip {
    padding: 4px 6px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 8px;
    font-weight: 700;
    color: #111111;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.project-documents-chip:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 #000000;
}

.project-documents-package {
    padding: 4px;
    background: #f4f6f8;
    border: 2px solid #000000;
    border-radius: 0;
}

.project-documents-package-text {
    font-size: 8px;
    color: #111111;
    line-height: 1.3;
    margin-bottom: 4px;
    font-weight: 600;
}

.project-documents-package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-documents-package-status {
    font-size: 9px;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    line-height: 1.2;
}

.project-documents-package-button {
    padding: 4px 8px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    font-family: 'Google Sans Code', monospace;
    font-size: 9px;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-documents-package-button:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 0 #000000;
}

/* Görevler Listesi */
.project-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
    flex: 1;
    min-height: 0;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.project-task-item {
    padding: 4px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    transition: all 0.15s;
    flex-shrink: 0;
}

.project-task-item:hover {
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.1);
    transform: translate(-2px, -2px);
}

.project-task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2px;
}

.project-task-name {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    flex: 1;
    line-height: 1.3;
}

.project-task-status-badge {
    padding: 2px 6px;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffffff;
    color: #111111;
}

.project-task-status-badge.completed {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.project-task-status-badge.in_progress {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.project-task-status-badge.pending,
.project-task-status-badge.waiting {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
}

.project-task-status-badge.rejected,
.project-task-status-badge.revision {
    background: #ff2b2b;
    color: #ffffff;
    border-color: #ff2b2b;
}

.project-task-meta {
    font-size: 8px;
    color: #6b7280;
    font-weight: 600;
    margin-top: 2px;
    line-height: 1.3;
}

/* Dış Bağlantılar */
.project-external-contact-item {
    padding: 8px;
    border: 2px solid #000000;
    background: #ffffff;
    margin-bottom: 6px;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.project-external-contact-item:hover {
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.1);
    transform: translate(-2px, -2px);
}

.project-external-contact-item.inactive {
    background: #f4f6f8;
    opacity: 0.7;
}

.project-external-contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.project-external-contact-name {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
}

.project-external-contact-status-badge {
    padding: 2px 6px;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffffff;
    color: #6b7280;
}

.project-external-contact-status-badge.inactive {
    background: #6b7280;
    color: #ffffff;
    border-color: #6b7280;
}

.project-external-contact-info {
    font-size: 8px;
    color: #111111;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.project-external-contact-info > div {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: flex-start;
}

.project-external-contact-info strong {
    color: #111111;
    font-weight: 700;
    min-width: 60px;
}

.project-external-contact-company,
.project-external-contact-expertise,
.project-external-contact-document,
.project-external-contact-email,
.project-external-contact-phone,
.project-external-contact-address {
    margin-bottom: 1px;
}

.expertise-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #3b82f6;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-left: 4px;
}

/* Belgeler Listesi */
.project-documents-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    flex: 1;
    min-height: 0;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.project-document-item {
    padding: 6px;
    background: #f4f6f8;
    border: 2px solid #000000;
    flex-shrink: 0;
    border-radius: 0;
    transition: all 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.project-document-item.empty {
    justify-content: center;
    opacity: 0.6;
}

.project-document-info {
    flex: 1;
    min-width: 0;
}

.project-document-actions {
    flex-shrink: 0;
    display: flex;
    gap: 4px;
}

.project-document-item:hover {
    background: #ffffff;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.1);
}

.project-document-category {
    display: inline-block;
    padding: 1px 4px;
    background: #3b82f6;
    color: #ffffff;
    border: 1px solid #000000;
    border-radius: 0;
    font-size: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-right: 4px;
}

.project-document-name {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    line-height: 1.3;
}

.project-document-meta {
    font-size: 8px;
    color: #6b7280;
    font-weight: 600;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.3;
}

/* 3B Görüntüleme */
.project-3d-scan-item {
    padding: 6px;
    background: #f4f6f8;
    border: 2px solid #000000;
    border-radius: 0;
    margin-bottom: 6px;
    transition: all 0.15s;
    flex-shrink: 0;
}

.project-3d-scan-item:hover {
    background: #ffffff;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.1);
}

.project-3d-scan-name {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    line-height: 1.3;
}

.project-3d-scan-meta {
    font-size: 8px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.project-3d-scan-button {
    padding: 4px 8px;
    background: #3b82f6;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    font-family: 'Google Sans Code', monospace;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-3d-scan-button:hover {
    background: #ffffff;
    color: #3b82f6;
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 0 #000000;
}

/* Başvurular */
.project-application-item {
    padding: 6px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    margin-bottom: 4px;
    transition: all 0.15s;
    flex-shrink: 0;
}

.project-application-item:hover {
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.1);
    transform: translate(-2px, -2px);
}

.project-application-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.project-application-institution {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
}

.project-application-status {
    padding: 2px 6px;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffffff;
    color: #111111;
}

.project-application-status.approved {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.project-application-status.rejected,
.project-application-status.revision {
    background: #ff2b2b;
    color: #ffffff;
    border-color: #ff2b2b;
}

.project-application-status.pending,
.project-application-status.waiting {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
}

.project-application-status.in_progress,
.project-application-status.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.project-application-meta {
    font-size: 8px;
    color: #6b7280;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.3;
}

/* Aktivite Timeline (sol kart içinde) */
.project-activity-item {
    padding: 12px 0;
    border-bottom: 2px solid #000000;
}

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

.project-activity-title {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
}

.project-activity-meta {
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
}

/* Loading */
.project-detail-loading,
.project-activity-loading {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 10px;
    font-weight: 600;
}

/* No Data */
.no-data {
    text-align: center;
    padding: 25px;
    color: #6b7280;
    font-size: 10px;
    font-weight: 600;
    border: 2px dashed #000000;
    background: #f4f6f8;
}

/* BookStack Styles */
.project-bookstack,
.project-mattermost,
.project-nextcloud,
.project-taiga {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.bookstack-header,
.mattermost-header,
.nextcloud-header,
.taiga-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #000000;
    flex-shrink: 0;
}

.bookstack-header h3,
.mattermost-header h3,
.nextcloud-header h3,
.taiga-header h3 {
    font-size: 11px;
    font-weight: 700;
    color: #111111;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bookstack-list,
.mattermost-channels,
.nextcloud-files,
.taiga-sprints,
.taiga-userstories {
    flex: 1;
    min-height: 0;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.book-card,
.channel-card,
.file-item,
.sprint-card,
.userstory-card {
    padding: 8px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.15s;
    flex-shrink: 0;
}

.book-card:hover,
.channel-card:hover,
.file-item:hover,
.sprint-card:hover,
.userstory-card:hover {
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.1);
    transform: translate(-2px, -2px);
}

.book-info,
.channel-info,
.file-item > div:first-child,
.sprint-card > div,
.userstory-info {
    flex: 1;
}

.book-name,
.channel-name,
.file-name,
.sprint-name,
.userstory-subject {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    line-height: 1.3;
}

.book-description,
.channel-description,
.userstory-description {
    font-size: 9px;
    color: #6b7280;
    margin-bottom: 4px;
    line-height: 1.3;
}

.book-meta,
.channel-meta,
.file-meta,
.sprint-meta,
.userstory-meta {
    font-size: 8px;
    color: #6b7280;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.3;
}

.book-actions,
.channel-actions,
.file-actions,
.userstory-actions {
    display: flex;
    gap: 6px;
}

.folder-item {
    background: #f4f6f8;
}

.file-icon {
    font-size: 16px;
    margin-right: 8px;
}

.mattermost-messages {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #000000;
    flex-shrink: 0;
}

.mattermost-messages h4 {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.message-item {
    padding: 6px;
    background: #f4f6f8;
    border: 2px solid #000000;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.message-author {
    font-size: 9px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
}

.message-text {
    font-size: 9px;
    color: #111111;
    line-height: 1.4;
    margin-bottom: 4px;
}

.message-time {
    font-size: 8px;
    color: #6b7280;
}

.taiga-sprints,
.taiga-userstories {
    margin-bottom: 16px;
}

.taiga-sprints h4,
.taiga-userstories h4 {
    font-size: 10px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Butonlar */
.btn-primary,
.btn-secondary,
.btn-small {
    padding: 10px 20px;
    border: 2px solid #000000;
    border-radius: 0;
    font-family: 'Google Sans Code', monospace;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffffff;
    color: #111111;
    line-height: 1.2;
}

.btn-primary {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.btn-primary:hover {
    background: #ffffff;
    color: #10b981;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 #000000;
}

.btn-primary:active {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0 0 #000000;
}

.btn-secondary:hover,
.btn-small:hover {
    background: #f4f6f8;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.1);
}

.btn-secondary:active,
.btn-small:active {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.1);
}

.btn-small {
    padding: 6px 12px;
    font-size: 9px;
}

/* Mobil Responsive */
/* Responsive Tasarım İyileştirmeleri */
@media (max-width: 1024px) {
    .project-detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-detail-grid > div:last-child {
        border-right: none;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .project-detail-content {
        padding: 16px;
    }
    
    .project-detail-card {
        padding: 16px;
    }
    
    .project-detail-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-detail-status-section {
        align-items: flex-start;
        width: 100%;
    }
    
    .project-detail-meta {
        text-align: left;
    }
    
    .project-summary-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .project-documents-chips {
        grid-template-columns: 1fr;
    }
    
    .project-team-tabs {
        overflow: hidden !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: auto !important;
    }
    
    .project-team-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}
