/**
 * Custom CSS - Not Alma Uygulaması
 */

/* Genel Stiller */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Not Kartları */
.note-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.note-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Renk Noktaları */
.note-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

/* Sidebar */
.sidebar {
    min-height: calc(100vh - 56px);
    background-color: #fff;
    box-shadow: 2px 0 4px rgba(0,0,0,0.05);
}

.sidebar .nav-link {
    color: #495057;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin: 0.25rem 0.5rem;
    transition: all 0.2s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #f0f0f0;
    color: #6366f1;
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 56px;
        left: -250px;
        width: 250px;
        z-index: 1000;
        transition: left 0.3s;
        height: calc(100vh - 56px);
        overflow-y: auto;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .main-content {
        padding: 1rem !important;
    }
}

/* Chat Mesajları */
#chatMessages {
    scroll-behavior: smooth;
}

/* Form Stilleri */
.form-control:focus,
.form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Buton Stilleri */
.btn-primary {
    background-color: #6366f1;
    border-color: #6366f1;
}

.btn-primary:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

/* Card Stilleri */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Not İçeriği */
.note-content {
    white-space: pre-wrap;
    line-height: 1.6;
    word-wrap: break-word;
}

/* Badge Stilleri */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

/* Progress Bar */
.progress {
    height: 6px;
    border-radius: 3px;
}

/* Utility Classes */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

