/* Müşteri Login Modal - CSS */

/* Floating Buttons - Ortak Stil */
#mlm-floating-btn, #mlm-floating-home-btn {
    position: fixed;
    background: #ff6b35;
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#mlm-floating-btn:hover, #mlm-floating-home-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

#mlm-floating-btn .dashicons, #mlm-floating-home-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Pozisyon sınıfları */
#mlm-floating-btn.mlm-position-top-left, #mlm-floating-home-btn.mlm-position-top-left {
    top: 30px;
    left: 30px;
}

#mlm-floating-btn.mlm-position-top-right, #mlm-floating-home-btn.mlm-position-top-right {
    top: 30px;
    right: 30px;
}

#mlm-floating-btn.mlm-position-middle-left, #mlm-floating-home-btn.mlm-position-middle-left {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

#mlm-floating-btn.mlm-position-middle-right, #mlm-floating-home-btn.mlm-position-middle-right {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}

#mlm-floating-btn.mlm-position-bottom-left, #mlm-floating-home-btn.mlm-position-bottom-left {
    bottom: 30px;
    left: 30px;
}

#mlm-floating-btn.mlm-position-bottom-right, #mlm-floating-home-btn.mlm-position-bottom-right {
    bottom: 30px;
    right: 30px;
}

@media (max-width: 768px) {
    #mlm-floating-btn, #mlm-floating-home-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }
    .mlm-btn-text {
        display: none;
    }
}

/* Modal Overlay */
.mlm-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.mlm-modal-overlay.active {
    display: flex;
}

/* Modal */
.mlm-modal {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: mlmModalSlideIn 0.3s ease;
}

@keyframes mlmModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header */
.mlm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

.mlm-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1d2327;
    font-weight: 600;
}

.mlm-close {
    font-size: 24px;
    color: #757575;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.mlm-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Modal Body */
.mlm-modal-body {
    padding: 25px;
}

/* Form */
.mlm-form-group {
    margin-bottom: 20px;
}

.mlm-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1d2327;
    font-size: 14px;
}

.mlm-form-group input[type="text"],
.mlm-form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.mlm-form-group input[type="text"]:focus,
.mlm-form-group input[type="password"]:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.mlm-form-group input[type="checkbox"] {
    margin-right: 8px;
}

/* Submit Button */
.mlm-btn-primary {
    width: 100%;
    background: #2271b1;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mlm-btn-primary:hover {
    background: #1e639a;
}

.mlm-btn-primary:disabled {
    background: #a7aaad;
    cursor: not-allowed;
}

/* Messages */
.mlm-message {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.mlm-message.success {
    background: #d1edff;
    border-left: 4px solid #46b450;
    color: #155724;
}

.mlm-message.error {
    background: #ffeae8;
    border-left: 4px solid #dc3232;
    color: #721c24;
}

.mlm-message.info {
    background: #e7f3ff;
    border-left: 4px solid #72aee6;
    color: #0c5460;
}

/* Loading State */
.mlm-loading {
    position: relative;
}

.mlm-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: mlmSpin 1s linear infinite;
}

@keyframes mlmSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}