/* Vue.js transitions */
.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}

/* Menu animations */
.menu-enter-active, .menu-leave-active {
  transition: all 0.3s ease;
}
.menu-enter, .menu-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}

/* Active menu item */
.menu-active {
  color: #f44153 !important;
}

/* City item styles */
[v-cloak] {
    display: none;
}

.city-item__col {
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 8px;
    margin: 10px;
}

.city-item__col .stats-row {
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.city-item__col .stats-row:last-child {
    border-bottom: none;
}

.city-item__col span {
    color: #fff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.city-item__col i {
    width: 20px;
    color: #f44153;
}

.city-item__country i {
    color: #f44153;
}

.loading-spinner {
    text-align: center;
    padding: 20px;
}

.section-download__content .uk-button-danger {
    font-size: 16px;
    padding: 10px 30px;
    text-transform: none;
}

/* İşletme Ekle Modal Stilleri */
.uk-modal-container .uk-modal-dialog {
    max-width: 800px;
}

.uk-modal-container .uk-form-label {
    font-weight: 600;
    margin-bottom: 5px;
}

.uk-modal-container .uk-subnav-pill > .uk-active > a {
    background-color: #f44153;
}

.uk-modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

.stats-row {
    margin-bottom: 5px;
}

/* Adım göstergesi stilleri */
.uk-subnav-pill {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
}

.uk-subnav-pill > * > a {
    padding: 5px 10px;
    font-size: 0.875rem;
}

/* İlerleme Çubuğu */
.step-progress {
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
    margin: 12px 15px 12px 0;
    overflow: hidden;
    width: 100%;
    min-width: 150px;
}

.step-bar {
    height: 100%;
    background: #f44153;
    transition: width 0.3s ease;
}

/* Form Adımları */
.uk-modal-body .uk-switcher > li {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.uk-button-danger {
    background: #f44153;
}

.uk-button-danger:hover {
    background: #e63142;
}

/* İşletme Türü Seçim Kartları */
.business-type-card {
    display: block;
    cursor: pointer;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.business-type-card:hover {
    border-color: #f44153;
    background: #fff5f6;
}

.business-type-card.active {
    border-color: #f44153;
    background: #fff5f6;
    box-shadow: 0 2px 15px rgba(244, 65, 83, 0.1);
}

.business-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.business-type-card .card-content {
    text-align: center;
}

.business-type-card .card-icon {
    font-size: 2.5em;
    color: #f44153;
    margin-bottom: 15px;
}

.business-type-card .card-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.business-type-card .card-desc {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

/* Form Input Stilleri */
.uk-input:focus {
    border-color: #f44153;
    box-shadow: 0 0 0 1px #f44153;
}

.uk-form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Animasyonlar */
.company-fields,
.artisan-fields {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Validation Styles */
.uk-form-danger {
    border-color: #f0506e !important;
    animation: shake 0.5s ease-in-out;
}

.uk-button:not(:disabled) {
    opacity: 1;
    cursor: pointer;
}

.validation-alert {
    margin-bottom: 15px;
    font-size: 0.875rem;
}

.validation-alert ul {
    margin-bottom: 0;
}

#validation-messages {
    margin-bottom: 15px;
}

#validation-messages .validation-alert {
    margin: 0;
}

.uk-modal-footer {
    border-top: 1px solid #e5e5e5;
    padding: 15px 30px;
}

.uk-modal-footer a {
    text-decoration: none;
}

.uk-modal-footer a:hover {
    text-decoration: underline;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.uk-button:disabled {
    background-color: #999 !important;
    cursor: not-allowed;
}

.uk-form-controls-text small {
    display: block;
    margin-top: 5px;
}

#formResult {
    padding: 20px;
}

#formResult iframe {
    min-height: 200px;
    background: #f8f8f8;
    border-radius: 4px;
}

#formResult .uk-text-center {
    margin-bottom: 15px;
}

iframe[name="businessFormFrame"] {
    margin-top: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#frameButtons {
    margin-top: 15px;
}

#frameButtons .uk-button {
    min-width: 100px;
}

#formButtons .uk-grid {
    margin: 0;
}

#formButtons .uk-width-auto {
    padding-left: 0;
}

/* WhatsApp Button Styles */
.uk-button-whatsapp {
    background-color: #25D366;
    color: white !important;
    border: 1px solid #128C7E;
}

.uk-button-whatsapp:hover {
    background-color: #128C7E;
    color: white !important;
    border-color: #075E54;
}

.section-banner__bg {
    transition: opacity 0.5s ease-in-out;
}

/* Listing Card Type Styles */
.listing-card__type {
    position: absolute;
    top: 15px;
    right: 15px; /* left yerine right kullanıyoruz */
    width: 36px;
    height: 36px;
    background: rgba(255, 0, 0, 0.8); /* Arka plan rengini de yarı saydam siyah yapıyoruz */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-card__type i {
    color: #ffffff;
    font-size: 16px;
}
