
body {
    font-family: sans-serif;
    background-color: #e6f7ff;
    margin: 0;
    padding: 0;
    display: flex;
}

.profile {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #45a049;
    margin-bottom: 20px;
    color: white;
}

.profile-icon {
    font-size: 80px;
    margin-bottom: 10px;
    color: white;
}

.profile-name {
    font-weight: bold;
    margin: 0;
}

.profile-class {
    font-size: 0.9em;
    margin: 5px 0 0 0;
}

.sidebar {
    width: 200px;
    background-color: #005000;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.menu-item {
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.menu-item:hover {
    background-color: #45a049;
}

.menu-item.active {
    background-color: #45a049;
    font-weight: bold;
}

.logout-button {
    margin-top: auto; /* Pushes the button to the bottom */
    background-color: #d9534f;
}

.logout-button:hover {
    background-color: #c9302c;
}

.container {
    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px;
    display: flex;
    flex-direction: column;
}

#dashboard-content.dashboard-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    flex-grow: 1;
}

.grid-cell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-section, .dashboard-card {
    margin: 0;
}

/* 9 Gözlü Kule Sistemi Stilleri */
.tower-setup-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.tower-setup-section h3 {
    margin-top: 0;
    color: #007bff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.setup-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.setup-option {
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.setup-option.hidden {
    display: none;
}

.setup-instruction {
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

/* Tower Grid Styling */
.tower-grid {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.tower-grid.hidden {
    display: none;
}

.tower-grid h3 {
    margin-top: 0;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.hole-card {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.hole-card.active {
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.hole-card.inactive {
    border-color: #6c757d;
    background-color: #f8f9fa;
    opacity: 0.7;
}

.hole-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dee2e6;
}

.hole-number {
    font-weight: bold;
    color: #495057;
    font-size: 0.9em;
}

.plant-type {
    background-color: #e9ecef;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    color: #495057;
}

.hole-plant-type {
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.8em;
    min-width: 80px;
}

.inactive-label {
    background-color: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.hole-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 0.8em;
    color: #495057;
    font-weight: 500;
}

.input-with-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.input-with-buttons input {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
}

.stepper-btn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 0.8em;
    min-width: 30px;
}

.stepper-btn:hover {
    background-color: #0056b3;
}

.status-options-mini {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.status-btn-mini {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.2s ease;
    flex: 1;
}

.status-btn-mini:hover {
    background-color: #e9ecef;
    transform: scale(1.05);
}

.status-btn-mini.selected {
    background-color: #007bff;
    border-color: #007bff;
    transform: scale(1.1);
}

.activate-hole-btn {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.8em;
    margin-top: 10px;
    width: 100%;
}

.activate-hole-btn:hover {
    background-color: #218838;
}

.global-notes-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.global-notes-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
}

/* Observation History Styling */
.tower-observation-summary {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Bölüm 2: Yaşam Destek Ünitesi Stilleri */
.water-nutrients-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: none;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.1);
}

.water-nutrients-section h2 {
    color: #1976d2;
    font-size: 1.4em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-description {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #424242;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.metric-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.metric-icon {
    font-size: 2em;
    width: 50px;
    text-align: center;
}

.metric-title h3 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

.metric-subtitle {
    font-size: 0.8em;
    color: #666;
    display: block;
}

.metric-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ph-indicator, .ec-indicator {
    text-align: center;
}

.ph-scale {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ph-label {
    font-size: 0.7em;
    font-weight: bold;
}

.ph-label.acidic { color: #f44336; }
.ph-label.alkaline { color: #2196f3; }

.ph-bar {
    flex: 1;
    height: 6px;
    background: linear-gradient(to right, #f44336, #ffeb3b, #4caf50, #2196f3);
    border-radius: 3px;
    position: relative;
}

.ph-optimal-range {
    position: absolute;
    left: 38%;
    width: 24%;
    height: 100%;
    background: rgba(76, 175, 80, 0.3);
    border: 2px solid #4caf50;
    border-radius: 3px;
    top: -2px;
}

.optimal-range-text {
    color: #4caf50;
    font-weight: bold;
}

.nutrient-levels {
    display: flex;
    gap: 8px;
    justify-content: space-around;
}

.level {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    border-radius: 8px;
    font-size: 0.75em;
}

.level.low { background-color: #e8f5e8; color: #2e7d32; }
.level.medium { background-color: #fff3e0; color: #f57c00; }
.level.high { background-color: #ffebee; color: #c62828; }

.water-quality-tips {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.water-quality-tips h4 {
    margin: 0 0 12px 0;
    color: #1976d2;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: white;
    border-radius: 8px;
    font-size: 0.8em;
}

.tip-icon {
    font-size: 1.2em;
}

/* Bölüm 3: Çevre Koşulları Stilleri */
.environment-section {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: none;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(156, 39, 176, 0.1);
}

.environment-section h2 {
    color: #7b1fa2;
    font-size: 1.4em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.environment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.environment-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.environment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 12px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.unit-label {
    background-color: #e0e0e0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    color: #666;
    font-weight: bold;
}

.temperature-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.temp-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
}

.day-temp {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
}

.night-temp {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.temp-label {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    font-size: 0.9em;
    font-weight: 500;
}

.temp-icon {
    font-size: 1.2em;
}

.temp-comfort-zone {
    text-align: center;
    margin-top: 12px;
    color: #4caf50;
    font-weight: bold;
}

.humidity-input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.humidity-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.humidity-icon-large {
    font-size: 2.5em;
}

.humidity-value-display {
    font-size: 2em;
    font-weight: bold;
    color: #2196f3;
}

.humidity-indicator {
    width: 100%;
    margin-top: 12px;
}

.humidity-bar {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #ffcdd2, #bbdefb, #c8e6c9);
    border-radius: 4px;
    position: relative;
    margin-bottom: 8px;
}

.humidity-optimal-range {
    position: absolute;
    left: 50%;
    width: 20%;
    height: 100%;
    background: rgba(33, 150, 243, 0.3);
    border: 2px solid #2196f3;
    border-radius: 4px;
    top: -2px;
}

.humidity-pointer {
    position: absolute;
    width: 4px;
    height: 12px;
    background: #f44336;
    border-radius: 2px;
    top: -2px;
    transform: translateX(-50%);
    transition: left 0.3s ease;
}

.humidity-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75em;
}

.humidity-label {
    text-align: center;
    flex: 1;
}

.environment-tips {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(156, 39, 176, 0.2);
}

.environment-tips h4 {
    margin: 0 0 12px 0;
    color: #7b1fa2;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.tip-card {
    background: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.tip-card:hover {
    transform: translateY(-2px);
}

.tip-emoji {
    font-size: 1.5em;
    display: block;
    margin-bottom: 6px;
}

.tip-card p {
    margin: 0;
    font-size: 0.8em;
    color: #555;
}

/* Modern Kaydet Butonu */
.save-section {
    text-align: center;
    margin: 32px 0;
}

.modern-save-btn {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 20px 40px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
    min-width: 280px;
}

.modern-save-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
}

.modern-save-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-text {
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-subtitle {
    font-size: 0.8em;
    opacity: 0.9;
    font-weight: normal;
}

/* Geçmiş Gözlemler Stilleri */
.observations-history-section {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border: none;
    border-radius: 16px;
    padding: 24px;
    margin-top: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header h2 {
    color: #424242;
    font-size: 1.4em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.observations-stats {
    display: flex;
    gap: 8px;
}

.stat-badge {
    background-color: #e0e0e0;
    color: #424242;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.observations-filter {
    margin-bottom: 20px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.obs-filter-btn {
    background-color: white;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.obs-filter-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.obs-filter-btn.active {
    background-color: #2196f3;
    color: white;
    border-color: #2196f3;
}

.observations-timeline {
    padding-right: 8px;
}

.observation-entry {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #4caf50;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Compact hole display styles */
.tower-data-compact {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
}

.holes-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.hole-item-compact {
    background: white;
    border-radius: 6px;
    padding: 8px;
    font-size: 12px;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hole-number-compact {
    font-weight: 600;
    color: #495057;
    min-width: 50px;
}

.hole-details-compact {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #6c757d;
}

.plant-type-compact {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.observation-entry:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.observation-entry h4 {
    color: #333;
    margin: 0 0 12px 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.observation-entry h4::before {
    content: '📅';
    font-size: 0.9em;
}

.tower-observation-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 16px;
    border-radius: 8px;
    margin: 12px 0;
    border: 1px solid #dee2e6;
}


.no-data-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-data-state.hidden {
    display: none;
}

.no-data-icon {
    font-size: 3em;
    margin-bottom: 16px;
    opacity: 0.6;
}

.no-data-state h3 {
    color: #555;
    margin: 0 0 8px 0;
}

.no-data-state p {
    color: #777;
    margin: 0;
}

/* Gözlem Entry İçeriği Stilleri */
.observation-header-info {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.obs-badge {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.obs-badge.active-holes {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.obs-badge.tower-mode {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.obs-badge.legacy {
    background-color: #fff3e0;
    color: #f57c00;
}

.hole-summary {
    padding: 6px 0;
    font-size: 0.9em;
    border-bottom: 1px dotted #ccc;
    display: grid;
    grid-template-columns: 70px 100px 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}

.hole-summary:last-child {
    border-bottom: none;
}

.hole-number-small {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    min-width: 50px;
}

.hole-plant-type {
    background-color: #e8f5e8;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(46, 125, 50, 0.2);
    min-width: 70px;
}

.hole-metrics {
    color: #555;
    font-size: 0.85em;
    padding: 4px 8px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-weight: 500;
    display: inline-block;
}

.hole-status {
    text-align: right;
    font-size: 0.85em;
    font-weight: 600;
    padding: 4px 8px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    color: #2e7d32;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-self: end;
}

.no-active-holes {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 12px;
    margin: 0;
}

.environment-data {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
}

.env-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.env-label {
    font-size: 0.85em;
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.env-value {
    font-size: 0.85em;
    color: #333;
    font-weight: 600;
}

.general-notes {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 0.9em;
    border-left: 3px solid #6c757d;
}

.legacy-observation-data {
    background-color: #fff3e0;
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
    border: 1px solid #ffcc80;
}

.legacy-observation-data p {
    margin: 4px 0;
    font-size: 0.9em;
}

.legacy-observation-data p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .hole-inputs {
        gap: 8px;
    }
    
    .input-with-buttons {
        flex-direction: row;
        gap: 5px;
    }
    
    .stepper-btn {
        min-width: 40px;
    }
    
    .metrics-grid, .environment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tips-grid, .tips-container {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .obs-filter-btn {
        flex: 1;
        justify-content: center;
    }
    
    .modern-save-btn {
        min-width: 240px;
        padding: 16px 24px;
    }
    
    .hole-summary {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 8px;
        background-color: #fafafa;
        border-radius: 8px;
        margin-bottom: 6px;
        border-bottom: none;
    }
    
    .hole-number-small,
    .hole-plant-type,
    .hole-metrics,
    .hole-status {
        justify-self: start;
        margin-bottom: 4px;
    }
    
    .hole-status {
        justify-self: start;
    }
}

/* Modern Proje Oluşturma Formu Stilleri */
.modern-form {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.form-header h2 {
    color: #2e7d32;
    margin: 0 0 8px 0;
    font-size: 1.5em;
}

.form-description {
    color: #666;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}

.form-section {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.form-label i {
    color: #2e7d32;
    width: 16px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95em;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background-color: white;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-hint {
    color: #888;
    font-size: 0.8em;
    margin-top: 4px;
    display: block;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-primary {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.btn-secondary:hover {
    border-color: #ccc;
    background-color: #f5f5f5;
}

.project-description {
    color: #666;
    font-style: italic;
    font-size: 0.85em;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tower-status {
    background-color: #f0f8f0;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #4caf50;
    font-size: 0.9em;
    color: #2e7d32;
}

.project-card p {
    margin: 4px 0;
    font-size: 0.85em;
    color: #555;
    line-height: 1.4;
}

.project-card p strong {
    color: #333;
    font-weight: 600;
}

.project-card p small {
    color: #777;
    font-size: 0.8em;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #dashboard-content.dashboard-grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

h1 {
    color: #005000;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.action-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.action-button:hover {
    background-color: #0056b3;
}

#project-form-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#project-form input, #project-form select, #project-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.action-button.cancel {
    background-color: #6c757d;
}

.action-button.cancel:hover {
    background-color: #5a6268;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-color: #4caf50;
}

.image-aspect-ratio-container {
    width: 100%;
    padding-bottom: 75%; /* 4:3 oranı için (3 / 4 = 0.75) */
    position: relative;
    overflow: hidden;
}

.project-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    padding-top: 35px; /* Status badge için yer bırak */
    padding-bottom: 70px; /* Alt butonlar için daha fazla yer bırak */
}

.project-card-body h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    color: #2e7d32;
    font-weight: 600;
    line-height: 1.3;
}


.hidden {
    display: none;
}

/* programla.html için özel stiller */
.container-full-height {
    padding: 10px; /* İçeriği kenarlara yaklaştır */
    display: flex;
    flex-direction: column;
}

.container-full-height .pinoo-editor {
    width: 100%;
    height: 800px; /* Sabit yükseklik */
    border: none;
}

/* project-detail.html için yeni stiller */
.form-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.form-section h2 {
    color: #005000;
    margin-top: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.input-with-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.input-with-buttons input[type="number"] {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.stepper-btn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stepper-btn:hover {
    background-color: #0056b3;
}

.status-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.status-btn {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
}

.status-btn:hover {
    background-color: #dee2e6;
}

.status-btn.selected {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.temp-inputs {
    display: flex;
    gap: 10px;
}

.temp-inputs input {
    flex-grow: 1;
}

.save-data-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 20px;
}

.feedback-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.observation-entry {
    background-color: #f0f8ff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.observation-entry h4 {
    color: #005000;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

.observation-entry p {
    margin-bottom: 5px;
    font-size: 0.95em;
}

/* Dashboard specific styles */
#dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-main-row {
    display: flex;
    gap: 20px;
}

.plant-identity {
    flex-grow: 1;
}

.next-task {
    width: 300px;
}

.dashboard-secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.latest-photo-card .latest-photo-container img {
    max-height: 200px;
    object-fit: cover;
}

.stacked-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 992px) {
    .dashboard-main-row {
        flex-direction: column;
    }

    .next-task {
        width: 100%;
    }

    .dashboard-secondary-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.plant-identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.plant-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#plant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plant-details h2 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #005000;
}

.plant-details p {
    margin: 0;
    color: #555;
}

.latest-photo-section {
    margin-top: 20px;
}

.latest-photo-container {
    text-align: center;
    margin-top: 15px;
}

#latest-photo-display {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#latest-photo-date {
    margin-top: 10px;
    font-size: 0.9em;
    color: #777;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.dashboard-card h3 {
    color: #005000;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}

.dashboard-card p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.dashboard-card.next-task {
    background-color: #e6ffe6; /* Light green */
    border-color: #a3e6a3;
}

.dashboard-card.quick-summary {
    background-color: #e6f7ff; /* Light blue */
    border-color: #a3d9ff;
}

.dashboard-card.ai-message {
    background-color: #fff3e6; /* Light orange */
    border-color: #ffd9b3;
}

.dashboard-card.badges {
    background-color: #f0e6ff; /* Light purple */
    border-color: #d9b3ff;
}

#badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background-color: #005000;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge i {
    font-size: 1.1em;
}

#no-project-dashboard-message {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2em;
    color: #555;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#no-project-dashboard-message a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

#no-project-dashboard-message a:hover {
    text-decoration: underline;
}

/* Galeri sayfası için stiller */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.photo-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

.photo-item img {
    width: 100%;
    height: 150px; /* Sabit yükseklik */
    object-fit: cover;
}

.photo-info {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photo-info p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

.favorite-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 1.2em;
}

.favorite-btn i.fas {
    color: #ffc107; /* Dolu kalp rengi */
}

.photo-actions {
    display: flex;
    gap: 5px;
}

.delete-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.2em;
}

.delete-btn:hover {
    color: #c82333;
}

/* Proje Durumu Stilleri */
.filter-section {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.filter-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    font-size: 14px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
}

.filter-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.status-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 12px;
    border-radius: 0 12px 0 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 80px;
    justify-content: center;
}

.project-card {
    position: relative;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.project-card[data-status="paused"] {
    opacity: 0.7;
}

.project-card[data-status="completed"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.project-card[data-status="cancelled"] {
    opacity: 0.6;
    background: #f8f9fa;
}

.card-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.status-change-btn,
.edit-btn {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    color: #495057;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-change-btn:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.edit-btn:hover {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.completion-date {
    color: #007bff;
    font-style: italic;
    font-size: 13px;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    color: #495057;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #adb5bd;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.modal-body {
    padding: 20px;
}

.status-option-btn {
    width: 100%;
    padding: 15px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    text-align: left;
}

.status-option-btn:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
    transform: translateY(-1px);
}

.status-option-btn:last-child {
    margin-bottom: 0;
}

.status-icon {
    font-size: 18px;
    min-width: 24px;
}

.status-info strong {
    display: block;
    margin-bottom: 2px;
    color: #495057;
}

.status-info small {
    color: #6c757d;
    font-size: 12px;
}

