﻿html {
    font-size: 14px;
}

a {
    text-decoration: none; /* Alt çizgiyi kaldýrýr */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Custom CSS */
.progress-container {
    width: 100%;
    background-color: #dfe6f5;
    border-radius: 15px;
    overflow: hidden;
    height: 30px;
    position: relative;
    display: flex; /* Yan yana hizalama */
}

.progress-bar-custom {
    height: 100%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    font-size: 14px;
    color: white;
    transition: width 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-blue-gradient {
    background: linear-gradient(90deg, #4a90e2, #357ABD); /* Mavi gradient */
}

.bg-light-blue {
    background: linear-gradient(90deg, #82b1ff, #5c92e0); /* Açýk mavi gradient */
}

/* Survey Details */
.image-container {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 200px; /* Maksimum geniþlik */
    margin: 0 auto; /* Merkeze hizalama */
}

.survey-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 200px; /* Maksimum yükseklik */
}

.vote-count {
    text-align: center;
}

.vote-button {
    display: block;
    width: 100%;
    max-width: 200px; /* Buton geniþliðini resimle ayný yap */
    margin: 0 auto; /* Merkeze hizalama */
}

.comment-card {
    border-left: 4px solid #007bff;
    background-color: #f8f9fa;
}

    .comment-card:hover {
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

.comments {
    max-height: 500px;
    overflow-y: auto;
}

.comment-row {
    transition: background-color 0.2s ease;
}

    .comment-row:hover {
        background-color: #f8f9fa;
    }

.table th {
    border-top: 2px solid #dee2e6;
    background-color: #f8f9fa;
}

.table td {
    vertical-align: middle;
}

.comment-form textarea {
    border: 2px solid #dee2e6;
    border-radius: 8px;
}

    .comment-form textarea:focus {
        border-color: #007bff;
        box-shadow: none;
    }

.alert-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none; /* Baþlangýçta gizli */
    z-index: 9999; /* Önde kalmasýný saðla */
}

.success-message {
    background-color: green;
}

.error-message {
    background-color: red;
}
