/* Presentation View Styles */
.p-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 98%;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Header Row: 65 - FAZ-V... */
.p-header {
    background-color: #2c2c2c;
    color: #fff;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

/* Row 2: Group Dir (Brown), Status, Worker */
.p-row-2 {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.p-group-dir {
    flex: 2;
    background-color: #6d4c41;
    /* Brownish */
    color: #ffd54f;
    /* Yellowish text */
    padding: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.p-status-box {
    flex: 1;
    border: 1px solid #ddd;
    background: #f5f5f5;
    color: red;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.p-status-label {
    font-size: 11px;
    color: #666;
    width: 100%;
    text-align: right;
}

/* "Açık" text logic might need adjustment based on image */

.p-worker {
    flex: 1;
    border: 1px solid #ddd;
    background: #fff;
    color: #1565c0;
    /* Blue */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* Row 3: Unit 1, Responsible, Dates */
.p-row-3 {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.p-card {
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.p-card-header {
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.p-card-body {
    padding: 8px;
    text-align: center;
    font-weight: 600;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific Card Styles */
.card-unit {
    flex: 2;
}

.card-unit .p-card-header {
    background: #e3f2fd;
    color: #333;
}

/* Light Blue */
.card-unit .p-card-body {
    color: #333;
}

.card-resp {
    flex: 1;
}

.card-resp .p-card-header {
    background: #1a237e;
    color: #fff;
}

/* Dark Blue */
.card-resp .p-card-body {
    color: #1565c0;
}

.card-dates {
    flex: 1.5;
}

.card-dates .p-card-header {
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
}

/* Light Green */
.card-dates .p-card-body {
    color: #d32f2f;
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
}

/* Red Dates */

/* Row 4: Action No & Goal Name */
.p-row-4 {
    display: flex;
    margin-top: 10px;
    border: 1px solid #ddd;
}

.p-action-no-box {
    width: 100px;
    background-color: #ff9800;
    /* Orange */
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-goal-name-box {
    flex: 1;
    background-color: #fff9c4;
    /* Light Yellow */
    padding: 15px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
}

/* Header Labels Strip (Grey) */
.p-labels-strip {
    background: #757575;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    display: flex;
    justify-content: space-between;
}

/* Action Buttons */
.p-actions-row {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    align-items: center;
}

.p-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-info {
    background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
    color: #333;
}

/* Bilgi - Special case text mostly */
.btn-view {
    background: linear-gradient(to bottom, #ff9800, #f57c00);
}

.btn-update {
    background: linear-gradient(to bottom, #ff9800, #f57c00);
}

.btn-realize {
    background: linear-gradient(to bottom, #ff9800, #f57c00);
}

.btn-approve {
    background: linear-gradient(to bottom, #ff9800, #f57c00);
}

.btn-comment {
    background: linear-gradient(to bottom, #ff9800, #f57c00);
}

/* Log Table */
.p-log-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 13px;
}

.p-log-table th {
    text-align: left;
    padding: 8px;
    background: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

.p-log-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.p-log-user {
    font-weight: bold;
}

.p-log-date {
    color: #d32f2f;
}

.p-log-info {
    color: #1565c0;
}