/* Site.css - Main styles */
:root {
    --primary-color: #1DA1F2;
    --secondary-color: #14171A;
    --background-color: #ffffff;
    --text-color: #14171A;
    --border-color: #E1E8ED;
    --success-color: #17bf63;
    --danger-color: #e0245e;
    --card-bg: #f5f8fa;
}

body {
    padding-top: 70px;
    padding-bottom: 20px;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {
    background-color: var(--primary-color) !important;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0d8ecf;
    border-color: #0d8ecf;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(29, 161, 242, 0.25);
}

/* Custom loading spinner */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--primary-color);
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .body-content {
        padding: 0 15px;
    }
}

/* Custom file input styling */
.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input::before {
    content: 'Dosya Seç';
    display: inline-block;
    background: var(--primary-color);
    color: white;
    border-radius: 3px;
    padding: 5px 10px;
    outline: none;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 700;
}

.custom-file-input:hover::before {
    background-color: #0d8ecf;
}

/* Comment counter styling */
.comment-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Card header styling */
.card-header {
    background-color: var(--primary-color);
    color: white;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}
