﻿/* Genel Sayfa ve Arka Plan Stili */
body {
    font-family:  "Stack Sans Text", Roboto, Helvetica, Arial, sans-serif;
    background-color: #3c3c3c; 
    color: #e7e7e7;
    margin: 0;
    padding: 0;
}

/* Açık Tema */
[data-theme="light"] body {
    background-color: #f5f5f5;
    color: #1c1c1c;
}

.container {
    color:#e7e7e7e7;
    width: 100%;
    padding:0;
    max-width: 1650px;
}


.welcome-hero {
    text-align: center;
    margin: 0 auto;
    padding: 20px 20px;
    background-color: #1c1c1c;
    border-radius: 5px;
    color:#e7e7e7;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.user-forms-table{
    color:#e7e7e7;
    
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #a8c7fa 0%, #7ba3f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(168, 199, 250, 0.3);
}

.hero-icon i {
    font-size: 3rem;
    color: #1c1c1c;
}

.hero-title {
    color: #a8c7fa;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.hero-description {
    color: #7e7e7e;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Aksiyon Kartları (Giriş Yapmamış Kullanıcılar İçin) */
.guest-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.action-card {
    padding: 30px;
    border-radius: 5px;
    background-color: #1c1c1c;
    border: 1px solid rgba(168, 199, 250, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(168, 199, 250, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #a8c7fa 0%, #7ba3f0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 1.75rem;
    color: #1c1c1c;
}

.action-card h3 {
    color: #a8c7fa;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.action-card p {
    color: #7e7e7e;
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Form Takip Input ve Butonu */
.tracker-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #7e7e7e;
    font-size: 1rem;
    z-index: 1;
}

.tracker-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    margin-bottom: 0;
    border: 2px solid rgba(168, 199, 250, 0.2);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 0.9rem;
    background-color: #282828;
    color: #e7e7e7;
    transition: all 0.3s ease;
}

.tracker-input:focus {
    outline: none;
    border-color: #a8c7fa;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.08);
    transform: translateY(-1px);
    background-color: #2c2c2c;
}

.tracker-input::placeholder {
    color: #999999;
    opacity: 1;
}

/* Genel Buton Stilleri */
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
}

/* Buton Renkleri */
.primary { /* Mavi - Giriş Yap / Yönet */
    background: linear-gradient(135deg, #7ba3f0 0%, #6495ed 100%);
    color: black;
}

    .primary:hover {
        transform: translateY(-1px);
        color:black;
    }

.success { /* Yeşil - Formları Görüntüle */
    background: linear-gradient(135deg, #7ba3f0 0%, #6495ed 100%);
    color: black;
}

    .success:hover {
        transform: translateY(-1px);
        color: black;
    }

.secondary { /* Gri - Çıkış */
    background-color: #dc3545;
    color: white;
}

    .secondary:hover {
        background-color: brown;
        transform: translateY(-1px);
        color:white;
    }

.info { /* Takip Et */
    background: linear-gradient(135deg, #7ba3f0 0%, #6495ed 100%);
    color: black;
}

    .info:hover {
        background: linear-gradient(135deg, #7ba3f0 0%, #6495ed 100%);
        transform: translateY(-2px);
        color: black;
    }

/* Bilgilendirici Bölüm */
.guest-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 30px;
    background-color: #1c1c1c;
    border-radius: 5px;
    border: 1px solid rgba(168, 199, 250, 0.1);
}

.info-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
}

.info-item i {
    font-size: 2.5rem;
    color: #a8c7fa;
    margin-bottom: 15px;
    display: block;
}

.info-item h4 {
    color: #a8c7fa;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.info-item p {
    color: #7e7e7e;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.5;
}

.mt-20 {
    margin-top: 20px;
}
.stats-section {
    margin-bottom:20px;
    text-align: center;
}

.stats-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #a8c7fa;
    margin-bottom: 20px;
}

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

.stat-card {
    background: #1c1c1c;
    border-radius: 5px;
    padding: 25px;
    height: 150px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.stat-card.total::before {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.15) 100%);
}

.stat-card.solved::before {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(27, 142, 68, 0.15) 100%);
}

.stat-card.pending::before {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1) 0%, rgba(230, 126, 34, 0.15) 100%);
}

.stat-card.closed::before {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(192, 57, 43, 0.15) 100%);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

    .stat-card i {
        font-size: 36px;
        transition: transform 0.3s ease;
    }

    .stat-card:hover i {
        transform: scale(1.1) rotate(5deg);
    }

    .stat-card .stat-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .stat-card .stat-number {
        font-size: 1.6rem;
        font-weight: 700;
        background: linear-gradient(135deg, #e7e7e7 0%, #b8b8b8 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        transition: all 0.3s ease;
    }

    .stat-card:hover .stat-number {
        transform: scale(1.05);
    }

    .stat-card .stat-label {
        font-size: 0.8rem;
        color: #9e9e9e;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .stat-card:hover .stat-label {
        color: #e7e7e7;
    }

    .stat-card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
    }

    /* Renkler */
    .stat-card.total i {
        color: #3498db;
        filter: drop-shadow(0 2px 8px rgba(52, 152, 219, 0.4));
    }

    .stat-card.solved i {
        color: #27ae60;
        filter: drop-shadow(0 2px 8px rgba(39, 174, 96, 0.4));
    }

    .stat-card.pending i {
        color: #f1c40f;
        filter: drop-shadow(0 2px 8px rgba(241, 196, 15, 0.4));
    }

    .stat-card.closed i {
        color: #e74c3c;
        filter: drop-shadow(0 2px 8px rgba(231, 76, 60, 0.4));
    }

@media(max-width:995px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Mobil Uyum (Basit Media Query) */
@media (max-width: 768px) {
    .guest-hero-section {
        padding: 30px 15px;
    }

    .hero-icon {
        width: 80px;
        height: 80px;
    }

    .hero-icon i {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .guest-actions {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .action-card {
        padding: 25px;
    }

    .guest-info-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }

    .info-item {
        padding: 15px;
    }

    .info-item i {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        height: 130px;
        padding: 20px;
    }

    .stat-card i {
        font-size: 28px;
    }

    .stat-card .stat-number {
        font-size: 1.3rem;
    }
}
@media(max-width:766px) {
    .welcome-hero {
        width:auto;
    }

    .guest-info-section {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== AÇIK TEMA STİLLERİ ========== */
[data-theme="light"] .container {
    color: #1c1c1c;
}

[data-theme="light"] .welcome-hero {
    background-color: #ffffff;
    color: #1c1c1c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .stat-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #d0d0d0;
}

[data-theme="light"] .stat-card .stat-number {
    background: linear-gradient(135deg, #1c1c1c 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .stat-card .stat-label {
    color: #7e7e7e;
}

[data-theme="light"] .action-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

[data-theme="light"] .action-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

[data-theme="light"] .action-card h3 {
    color: #7ba3f0;
}

[data-theme="light"] .action-card p {
    color: #1c1c1c;
}

[data-theme="light"] .guest-info-section {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

[data-theme="light"] .info-item h4 {
    color: #7ba3f0;
}

[data-theme="light"] .info-item p {
    color: #7e7e7e;
}

[data-theme="light"] .tracker-input {
    background-color: #ffffff;
    color: #1c1c1c;
    border: 2px solid #d0d0d0;
}

[data-theme="light"] .tracker-input:focus {
    border-color: #7ba3f0;
    background-color: #ffffff;
}

[data-theme="light"] .hero-title {
    color: #7ba3f0;
}

[data-theme="light"] .hero-description {
    color: #1c1c1c;
}

[data-theme="light"] h2 {
    color: #1c1c1c;
}

[data-theme="light"] .stats-title {
    color: #1c1c1c;
}

/* Son Eklenen Notlar Bölümü */
.recent-notes-section {
    margin-bottom: 30px;
    background-color: #1c1c1c;
    border-radius: 5px;
    padding: 25px;
    border: 1px solid rgba(168, 199, 250, 0.1);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #a8c7fa;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(168, 199, 250, 0.2);
}

.recent-notes-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: start;
}

.recent-note-item {
    background-color: #282828;
    border-radius: 5px;
    padding: 15px;
    border: 1px solid rgba(168, 199, 250, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    width: 100%;
}

.recent-note-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(168, 199, 250, 0.3);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.note-form-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
}

.note-form-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.note-form-number,
.note-company-name,
.note-subject {
    color: #a8c7fa;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.note-form-number i,
.note-company-name i,
.note-subject i {
    color: #7ba3f0;
    font-size: 0.85rem;
}

.note-form-number a {
    color: #a8c7fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.note-form-number a:hover {
    color: #7ba3f0;
    text-decoration: underline;
}

.note-company-name {
    color: #e7e7e7;
    font-weight: 500;
}

.note-subject {
    color: #b8b8b8;
    font-weight: 500;
    font-style: italic;
}

.note-date {
    color: #7e7e7e;
    font-size: 0.75rem;
    white-space: nowrap;
}

.note-content {
    margin-bottom: 10px;
    flex: 1;
}

.note-content p {
    color: #e7e7e7;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 72ch;
}

.note-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9e9e9e;
    font-size: 0.8rem;
    margin-top: auto;
}

.note-author i {
    color: #7ba3f0;
}

/* Açık Tema için Son Eklenen Notlar */
[data-theme="light"] .recent-notes-section {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

[data-theme="light"] .section-title {
    color: #1c1c1c;
    border-bottom-color: #d0d0d0;
}

[data-theme="light"] .recent-note-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

[data-theme="light"] .recent-note-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .note-form-number,
[data-theme="light"] .note-company-name,
[data-theme="light"] .note-subject {
    color: #1c1c1c;
}

[data-theme="light"] .note-form-number a {
    color: #1c1c1c;
}

[data-theme="light"] .note-form-number a:hover {
    color: #7ba3f0;
}

[data-theme="light"] .note-company-name {
    color: #1c1c1c;
}

[data-theme="light"] .note-subject {
    color: #4a4a4a;
}

[data-theme="light"] .note-content p {
    color: #1c1c1c;
}

[data-theme="light"] .note-date,
[data-theme="light"] .note-author {
    color: #7e7e7e;
}

/* Tablet ve Orta Ekranlar için Responsive */
@media (max-width: 1200px) {
    .recent-notes-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .recent-note-item {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .recent-notes-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .recent-note-item {
        padding: 12px;
        max-width: 100%;
    }

    .note-form-number,
    .note-company-name,
    .note-subject {
        font-size: 0.8rem;
    }
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .recent-notes-section {
        padding: 20px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .recent-notes-list {
        grid-template-columns: 1fr;
        gap: 12px;
        justify-items: stretch;
    }

    .recent-note-item {
        padding: 15px;
        max-width: 100%;
        width: 100%;
    }

    .note-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .note-form-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    .note-form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    .note-form-number,
    .note-company-name,
    .note-subject {
        font-size: 0.8rem;
    }
}

/* Küçük Mobil Ekranlar */
@media (max-width: 480px) {
    .recent-notes-section {
        padding: 15px;
    }

    .section-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .recent-notes-list {
        gap: 10px;
    }

    .recent-note-item {
        padding: 12px;
    }

    .note-form-number,
    .note-company-name,
    .note-subject {
        font-size: 0.75rem;
    }

    .note-content p {
        font-size: 0.8rem;
    }

    .note-author {
        font-size: 0.75rem;
    }
}