/* Gelince Haber Ver - Frontend Styles */

.gelince-stock-notification-form {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.gelince-stock-notification-form h3 {
    margin-top: 0;
    color: #495057;
    font-size: 18px;
}

.gelince-stock-notification-form p {
    color: #6c757d;
    margin-bottom: 15px;
}

.gelince-stock-notification-form .form-group {
    margin-bottom: 15px;
}

.gelince-stock-notification-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
}

.gelince-stock-notification-form input[type="email"] {
    width: 100%;
    max-width: 400px;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.gelince-stock-notification-form input[type="email"]:focus {
    border-color: #007cba;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25);
}

.gelince-submit-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.gelince-submit-btn:hover {
    background: #005a87;
}

.gelince-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.gelince-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
}

.gelince-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.gelince-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Ürün Listesi Butonu - WooCommerce sepet butonuyla aynı stil */
.gelince-stock-notification-button {
    margin-top: 10px;
}

.gelince-notify-btn {
    /* WooCommerce sepet butonu stillerini kullan */
    background: #0073aa;
    color: #fff;
    border: 1px solid #0073aa;
    padding: 12px 20px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    line-height: 1.4;
    min-height: 44px;
    box-sizing: border-box;
}

.gelince-notify-btn:hover {
    background: #005a87;
    border-color: #005a87;
    color: #fff;
    text-decoration: none;
}

.gelince-notify-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.gelince-notify-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
}

/* Single product sayfasında daha büyük buton */
.single-product .gelince-notify-btn {
    padding: 15px 25px;
    font-size: 16px;
    min-height: 50px;
}

/* Modal */
#gelince-notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gelince-modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gelince-modal-content h3 {
    margin-top: 0;
    color: #495057;
    font-size: 20px;
}

.gelince-modal-content p {
    color: #6c757d;
    margin-bottom: 20px;
}

.gelince-modal-content .form-group {
    margin-bottom: 20px;
}

.gelince-modal-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.gelince-modal-content input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.gelince-modal-content input[type="email"]:focus {
    border-color: #007cba;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25);
}

.gelince-modal-content .form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.gelince-modal-content .button {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.gelince-modal-content .button-primary {
    background: #007cba;
    color: #fff;
    border: none;
}

.gelince-modal-content .button-primary:hover {
    background: #005a87;
}

.gelince-modal-content .button-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.gelince-modal-content .gelince-cancel-btn {
    background: #6c757d;
    color: #fff;
    border: none;
}

.gelince-modal-content .gelince-cancel-btn:hover {
    background: #5a6268;
}

.gelince-modal-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
}

.gelince-modal-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.gelince-modal-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .gelince-modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .gelince-modal-content .form-actions {
        flex-direction: column;
    }
    
    .gelince-modal-content .button {
        width: 100%;
    }
}
