/* PharmAssiste Auth Styles */
.paa-auth-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.paa-auth-container h2 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.5em;
}
.paa-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95em;
}
.paa-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.paa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: opacity 0.2s;
}
.paa-btn:hover { opacity: 0.9; }
.paa-btn-google {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
}
.paa-btn-facebook {
    background: #1877F2;
    color: #fff;
}
.paa-btn-primary {
    background: #2563eb;
    color: #fff;
    width: 100%;
    font-size: 1em;
    padding: 12px;
}
.paa-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #aaa;
}
.paa-separator::before,
.paa-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}
.paa-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.paa-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95em;
    box-sizing: border-box;
}
.paa-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.paa-section-label {
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
    margin-top: 8px;
}
.paa-hint {
    display: block;
    font-size: 0.8em;
    color: #e67e22;
    margin-top: 4px;
}
.paa-links {
    text-align: center;
    margin-top: 4px;
}
.paa-links a {
    color: #666;
    font-size: 0.9em;
}
.paa-toggle {
    text-align: center;
    margin-top: 20px;
    color: #888;
    font-size: 0.9em;
}
.paa-toggle a {
    color: #2563eb;
    font-weight: 500;
}
.paa-message {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9em;
    margin-bottom: 12px;
}
.paa-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.paa-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.paa-restricted {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin: 20px 0;
}
.paa-restricted-icon {
    font-size: 3em;
    margin-bottom: 16px;
}
.paa-restricted h3 {
    margin-bottom: 8px;
}
.paa-restricted p {
    color: #666;
    margin-bottom: 20px;
}
.paa-restricted .paa-btn-primary {
    display: inline-flex;
    width: auto;
    padding: 12px 32px;
}
.paa-login-btn {
    background: #2563eb;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.9em;
    text-decoration: none !important;
}
.paa-avatar-wrap {
    position: relative;
    display: inline-block;
}
.paa-avatar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #10b981;
    color: #fff !important;
    font-size: 0.85em;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
}
.paa-dropdown {
    display: none;
    position: fixed;
    top: auto;
    right: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 160px;
    z-index: 99999;
    padding: 4px 0;
    white-space: nowrap;
}
.paa-dropdown.open { display: block; }
.paa-dropdown a {
    display: block;
    padding: 10px 16px;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 0.9em;
}
.paa-dropdown a:hover { background: #f3f4f6; }
.paa-btn[disabled] {
    opacity: 0.6;
    cursor: wait;
}
