/**
 * Platty Login Tools - Frontend Styles
 */

 .pointer {
    cursor: pointer !important;
}

.hidden {
    display: none !important;
}

.platty-password-request-form,
.platty-password-reset-form {
    max-width: 400px;
    margin: 0 auto;
}

.platty-form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.platty-form-group label {
    display: block;
    font-weight: 600;
    color: #333;
}

.platty-form-group input[type="email"],
.platty-form-group input[type="password"],
.platty-form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.platty-form-group input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

.platty-btn {
    display: block !important;
    width: 100% !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    background-color: #000 !important;
    color: #fff !important;
}

.platty-btn:hover {
    background-color: #333 !important;
}

.platty-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.platty-message {
    padding: 12px 15px;
    border-radius: 4px;
    margin: 15px 0;
    font-size: 14px;
}

.platty-message-container {
    margin-top: 15px;
}

.platty-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.platty-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.platty-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.platty-password-strength {
    margin-top: 8px;
    font-size: 13px;
}

.platty-password-strength.weak {
    color: #dc3545;
}

.platty-password-strength.medium {
    color: #ffc107;
}

.platty-password-strength.strong {
    color: #28a745;
}

.platty-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: platty-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes platty-spin {
    to {
        transform: rotate(360deg);
    }
}
