/* KY Newsletter Plugin Styles */
.ky-newsletter-form-wrapper {
    margin: 20px 0;
    font-family: var(--font-family, Arial, sans-serif);
}

/* Form Başarı/Hata Mesajları */
.ky-newsletter-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.ky-newsletter-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.ky-newsletter-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.ky-newsletter-message.loading {
    background-color: #e2f3ff;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Form Stil 1 */
.ky-form-style-1 .newsletter-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 2px solid var(--text-color, #333);
    border-radius: 8px;
    background-color: #f7f7f7;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.ky-form-style-1 .heading {
    font-weight: bold;
    font-size: 20px;
    color: var(--text-color, #333);
    margin-bottom: 20px;
}

.ky-form-style-1 .form label {
    display: block;
    font-weight: bold;
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

.ky-form-style-1 .form input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.ky-form-style-1 .form input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-color, #ff6600);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.ky-form-style-1 .form input[type="submit"]:hover {
    opacity: 0.9;
}

/* Form Stil 2 */
.ky-form-style-2 .card {
    width: 280px;
    height: auto;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.ky-form-style-2 .card > * {
    margin: 0;
}

.ky-form-style-2 .card__title {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-color, #333);
}

.ky-form-style-2 .card__content {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.ky-form-style-2 .card__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ky-form-style-2 .card__form input[type="email"] {
    outline: 0;
    background: #fff;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #ddd;
    color: var(--text-color, #333);
    font-size: 14px;
}

.ky-form-style-2 .card__form button {
    border: 0;
    background: var(--primary-color, #111);
    color: #fff;
    padding: 12px;
    border-radius: 14px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.ky-form-style-2 .card__form button:hover {
    opacity: 0.8;
}

/* Form Stil 3 */
.ky-form-style-3 .popup {
    position: relative;
    width: 320px;
    height: fit-content;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 13px;
    margin: 0 auto;
}

.ky-form-style-3 .form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
}

.ky-form-style-3 .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ecf1fd;
    border-radius: 8px;
}

.ky-form-style-3 .note {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ky-form-style-3 .title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color, #333);
}

.ky-form-style-3 .subtitle {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.ky-form-style-3 .input_field {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border-radius: 6px;
    outline: none;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.ky-form-style-3 .input_field:focus {
    border-color: var(--primary-color, #2B2B2F);
}

.ky-form-style-3 .submit {
    width: 100%;
    height: 42px;
    background: var(--primary-color, #4480FF);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.ky-form-style-3 .submit:hover {
    opacity: 0.9;
}

/* Form Stil 4 */
.ky-form-style-4 .form {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right, #3f4c6b, #606c88);
    padding: 25px;
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.ky-form-style-4 .title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.ky-form-style-4 .description {
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 20px;
    color: #e5e7eb;
}

.ky-form-style-4 .form > div {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.ky-form-style-4 .form input[type="email"] {
    outline: none;
    line-height: 1.5;
    font-size: 14px;
    color: #fff;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    flex: 1;
}

.ky-form-style-4 .form input[type="email"]::placeholder {
    color: #d1d5db;
}

.ky-form-style-4 .form input[type="email"]:focus {
    border-color: var(--primary-color, #6366f1);
}

.ky-form-style-4 .form button {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    background-color: var(--primary-color, #6366f1);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.ky-form-style-4 .form button:hover {
    opacity: 0.9;
}

/* Form Stil 5 */
.ky-form-style-5 .input-wrapper {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
}

.ky-form-style-5 .input {
    width: 200px;
    height: 44px;
    outline: none;
    padding: 0 16px;
    font-size: 14px;
    background-color: #fafaf7;
    border-radius: 8px;
    border: 1px solid #d0d7e1;
    transition: border-color 0.3s ease;
}

.ky-form-style-5 .input:focus {
    border-color: var(--primary-color, #292524);
}

.ky-form-style-5 .Subscribe-btn {
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    background-color: var(--primary-color, #292524);
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
}

.ky-form-style-5 .Subscribe-btn:hover {
    opacity: 0.9;
}

.ky-form-style-5 .Subscribe-btn:hover .arrow {
    animation: arrow-move 0.6s ease-in-out;
}

.ky-form-style-5 .Subscribe-btn:active {
    transform: scale(0.98);
}

.ky-form-style-5 .arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

@keyframes arrow-move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Checkbox Stilleri */
.ky-checkbox-container {
    margin: 15px 0 10px 0;
}

.ky-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
}

.ky-checkbox {
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.ky-checkbox-text {
    color: var(--text-color, #666);
    flex: 1;
}

.ky-checkbox-text a {
    color: var(--primary-color, #0073aa);
    text-decoration: none;
}

.ky-checkbox-text a:hover {
    text-decoration: underline;
}

/* Form Stil 4 için özel düzenleme */
.ky-form-style-4 .ky-form-inputs {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.ky-form-style-4 .ky-checkbox-container {
    margin-top: 10px;
}

/* Form Stil 5 için özel düzenleme */
.ky-form-style-5 .ky-form-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.ky-form-style-5 .ky-checkbox-container {
    margin: 0;
}
    .ky-form-style-1 .newsletter-form,
    .ky-form-style-2 .card,
    .ky-form-style-3 .popup,
    .ky-form-style-4 .form {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .ky-form-style-4 .form > div {
        flex-direction: column;
        gap: 12px;
    }
    
    .ky-form-style-5 .input-wrapper {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .ky-form-style-5 .input {
        width: 100%;
        max-width: 300px;
    }



/* Form Stil 6 - Notification Style */
.ky-form-style-6 .card {
    width: 370px;
    height: 290px;
    padding: 0 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    margin-left:-5px;
}

.ky-form-style-6 .card > * {
    margin: 0;
}

.ky-form-style-6 .card__title {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-color, #333);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ky-form-style-6 .card__title svg {
    fill: var(--text-color, #333);
}

.ky-form-style-6 .card__content {
    font-size: 13px;
    line-height: 18px;
    color: var(--text-color, #333);
    margin: 10px;
}

.ky-form-style-6 .card__form {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.ky-form-style-6 .card__form input[type="email"] {
    outline: 0;
    margin-left: 10px;
    background: rgb(255, 255, 255);
    box-shadow: transparent 0px 0px 0px 1px inset;
    padding: 0.6em;
    border-radius: 14px;
    border: 1px solid var(--text-color, #333);
    color: var(--text-color, black);
    flex: 1;
}

.ky-form-style-6 .card__form button {
    border: 0;
    background: var(--primary-color, #111);
    color: #fff;
    padding: 0.68em;
    border-radius: 14px;
    font-weight: bold;
    cursor: pointer;
}

.ky-form-style-6 .card__form button:hover,
.ky-form-style-6 .sign-up:hover {
    opacity: 0.9;
}

/* Checkbox için stil 6 */
.ky-form-style-6 .ky-checkbox-container {
    margin-top: 10px;
    width: 85%;
}

/* Mobil stil 6 */
@media only screen and (max-width: 767px) {
  /* Mobil */
.ky-form-style-6 .card {
    width: 300px;
    height: 270px;
    padding:0;
    
}
.ky-form-style-6 .card__title{
    font-size: 18px;
}
}


/* Form Stil 7 - Connected Input Button */
.ky-form-style-7 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.ky-form-style-7 .ky-form-7-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ky-form-style-7 .ky-form-7-inputs {
    display: flex;
    align-items: stretch;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0.5em;
    overflow: hidden;
    background: #fff;
    border: 2px solid #fff;
}

.ky-form-style-7 .input {
    width: 235px;
    padding: 26px;
    font-size: 17px;
    color: var(--text-color, black);
    border: none;
    outline: none;
    font-family: inherit;
    background: #fff;
    flex: 1;
    margin: 0;
    border-radius: 0;
}

.ky-form-style-7 .input:focus {
    outline: none;
    background: #fff;
}

.ky-form-style-7 .input::placeholder {
    color: #999;
}

.ky-form-style-7 .button {
    border: none;
    background-color: var(--primary-color, #1363DF);
    text-decoration: none;
    padding: 15px;
    font-size: 17px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 100px;
    margin: 0;
    border-radius: 0;
}

.ky-form-style-7 .button:hover {
    background-color: var(--primary-color, #0f52c7);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(19, 99, 223, 0.3);
}

.ky-form-style-7 .button:active {
    transform: translateY(0);
}

/* Checkbox için stil 7 */
.ky-form-style-7 .ky-checkbox-container {
    margin-top: 0;
    text-align: center;
    max-width: 300px;
}

/* Responsive */
@media (max-width: 768px) {
    .ky-form-style-7 .ky-form-7-inputs {
        flex-direction: column;
        border-radius: 0.5em;
    }
    
    .ky-form-style-7 .input {
        max-width: 100%;
        width: 250px;
        border-radius: 0.5em 0.5em 0 0;
    }
    
    .ky-form-style-7 .button {
        width: 250px;
        border-radius: 0 0 0.5em 0.5em;
    }
    
    .ky-form-style-7 .ky-checkbox-container {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .ky-form-style-7 .input,
    .ky-form-style-7 .button {
        width: 200px;
        padding: 12px;
        font-size: 16px;
    }
    
    .ky-form-style-7 .ky-checkbox-container {
        max-width: 200px;
    }
}



/* Yükleme animasyonu */
.ky-newsletter-loading {
    opacity: 0.7;
    pointer-events: none;
}

.ky-newsletter-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color, #333);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Genel form reset */
.ky-newsletter-form-wrapper * {
    box-sizing: border-box;
}

.ky-newsletter-form-wrapper form {
    margin: 0;
}

.ky-newsletter-form-wrapper input,
.ky-newsletter-form-wrapper button {
    font-family: inherit;
}

.ky-newsletter-form-wrapper input:focus,
.ky-newsletter-form-wrapper button:focus {
    outline: 2px solid var(--primary-color, #333);
    outline-offset: 2px;
}

/* Erişilebilirlik */
@media (prefers-reduced-motion: reduce) {
    .ky-newsletter-form-wrapper *,
    .ky-newsletter-form-wrapper *::before,
    .ky-newsletter-form-wrapper *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}