html {
    font-size: 14px;
}

@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%;
}


.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;
}

.main-title {
    text-align: center;
    margin: 10px 0px;
}

.main-title h1 {
    font-size: 30px;
    line-height: 25px;
    margin-top: 10px;
}

#top-area {
    background-color: #1ab9a7;
    height: 550px;
}

@media (max-width: 480px) {
    .main-title h1 {
        font-size: 12px;
        line-height: 15px;
    }

    #top-area {
        background-color: #1ab9a7;
        height: 510px;
    }

    .main-title p {
        font-size: 12px;
        line-height: 5px;
    }

    .gt_container--hich1m .gt_switcher {
        font-family: Arial;
        font-size: 12pt;
        text-align: left;
        cursor: pointer;
        overflow: hidden;
        width: 140px !important;
        line-height: 0;
    }

    .gt_switcher_wrapper {
        position: fixed;
        top: 0;
        right: 1% !important;
        z-index: 999999;
    }
}

.required-star {
    color: red;
    margin-left: 5px;
}

.question-group {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.h25-scroll {
    overflow: auto;
    height: 500px;
}

input.form-control,
select.form-control,
textarea.form-control {
    background: #fbfbfb;
    border: 2px solid #0dabaa;
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    color: #999;
    height: 56px;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.428571429;
    padding: 6px 12px;
}

h1,
h2 {
    text-transform: capitalize !important;
    font-weight: 800;
}

body {
    background-color: #f8f9fa;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.thanks-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.thanks-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 2rem;
    animation: bounceIn 1.5s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.logo-icon {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.check-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.main-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    color: #34495e;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.message-text {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.btn-home {
    background-color: #0d6efd;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    color: white;
}

.heart-icon {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.05);
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .thanks-card {
        margin: 1rem;
        padding: 2rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
}

.google-review-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.google-logo-wrapper {
    margin-bottom: 15px;
}

.google-logo {
    max-width: 100px;
    height: auto;
}

.review-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.review-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}


.btn-google-review {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #4285F4, #3367D6);
    color: #fff;
    padding: 15px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-google-review:hover {
    background: linear-gradient(to right, #3367D6, #2a5aae);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: #f5f7fa;
}

.btn-google-review:active {
    background: linear-gradient(to right, #3367D6, #2a5aae);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: #f5f7fa;
}

.btn-google-review:active,
.btn-google-review:focus,
.btn-google-review:hover {
    background: linear-gradient(to right, #3367D6, #2a5aae);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: #f5f7fa;
}

.btn-google-review::before {
    left: -50%;
}

.btn-google-review::after {
    right: -50%;
}

.btn-google-review:hover::before {
    left: 10%;
}

.btn-google-review:hover::after {
    right: 10%;
}

.star-rating {
    margin-right: 15px;
    color: #FFD700;
    font-size: 21px;
}

.star-rating .fas {
    margin: 0 5px;
}

a [class^="icon-"],
a [class*=" icon-"] {
    display: table-cell;
}

@media (max-width: 429px) {
    .star-rating {
        margin-right: 20px;
        color: #FFD700;
        font-size: 15px;
    }

    .google-review-box {
        background-color: #fff;
        border-radius: 8px;
        padding: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        text-align: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-google-review {
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(to right, #4285F4, #3367D6);
        color: #fff;
        padding: 10px 2px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: 500;
        font-size: 15px;
        transition: all 0.3s ease;
        border: none;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .thanks-card {
        margin: 1rem;
        padding: 1rem;
    }

    .logo-container {
        margin-bottom: 1rem;
        animation: bounceIn 1.5s ease-out;
    }

    .message-text {
        color: #5a6c7d;
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .btn-google-review:active,
    .btn-google-review:focus,
    .btn-google-review:hover {
        background: linear-gradient(to right, #3367D6, #2a5aae);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
        color: #f5f7fa;
    }

    .logo-icon {
        width: 80px;
        height: auto;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    }
}

button#languageDropdown {
    border: 1px solid #fff;
    color: #fff;
}

.translation-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: Arial, sans-serif;
    color: #333;
}

.translation-loader .spinner {
    border: 5px solid #eee;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 430px) {
    .logo-icon {
        width: 100px;
        height: auto;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    }
}

/* ===== Doktor Değerlendirme Kartları ===== */
.doctor-rating-section {
    background-color: #fff;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.doctor-rating-section h4 {
    color: #2c3e50;
    font-weight: 600;
}

.doctor-card {
    background: #fbfbfb;
    border: 2px solid #0dabaa;
    border-radius: 0;
    padding: 15px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.doctor-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doctor-name {
    color: #34495e;
    font-weight: 600;
}

.doctor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0dabaa;
    background-color: #fbfbfb;
}

.btn-like,
.btn-dislike {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-like {
    border: 2px solid #1ab9a7;
    color: #1ab9a7;
    background: transparent;
}

.btn-like:hover {
    background-color: #1ab9a7;
    color: #fff;
    transform: translateY(-2px);
}

.btn-dislike {
    border: 2px solid #e74c3c;
    color: #e74c3c;
    background: transparent;
}

.btn-dislike:hover {
    background-color: #e74c3c;
    color: #fff;
    transform: translateY(-2px);
}

.btn-like.active {
    background-color: #1ab9a7;
    color: #fff;
    border-color: #1ab9a7;
    box-shadow: 0 4px 15px rgba(26, 185, 167, 0.4);
}

.btn-dislike.active {
    background-color: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.doctor-comment-wrapper textarea {
    background: #fbfbfb;
    border: 2px solid #0dabaa;
    border-radius: 0;
    color: #999;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.428571429;
    padding: 6px 12px;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}



.vote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    transition: all 0.18s ease;
}

.vote-btn:hover {
    background: #a0a0a0;
}

.vote-btn.active-like {
    background: #EAF3DE;
    border-color: #639922;
    color: #3B6D11;
}

.vote-btn.active-dislike {
    background: #FCEBEB;
    border-color: #E24B4A;
    color: #A32D2D;
}

.vote-btn svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transition: transform 0.15s;
}

.vote-btn:active svg {
    transform: scale(1.25);
}

.vote-divider {
    width: 1px;
    height: 20px;
    background: #e5e7eb;
}