body.auth-page{background:#f4f8f5;background-image:radial-gradient(circle at 10% 20%,rgba(16,185,129,.06) 0%,transparent 40%),radial-gradient(circle at 90% 80%,rgba(5,150,105,.07) 0%,transparent 45%);min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 16px;font-family:Inter,system-ui,-apple-system,sans-serif;color:#0f172a}.auth-main-card{width:100%;max-width:580px;background:#fff;border:1.5px solid rgba(5,150,105,.18);border-radius:24px;box-shadow:0 24px 60px #05966917,0 4px 16px #0f172a0a;padding:36px 32px;position:relative;overflow:hidden}@media(min-width:640px){.auth-main-card{padding:44px 40px}}.auth-card-top-bar{position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(90deg,#059669,#10b981,#34d399)}.auth-nav-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.back-home-btn{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;font-weight:600;color:#64748b;text-decoration:none;padding:6px 12px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;transition:all .2s ease}.back-home-btn:hover{color:#059669;border-color:#059669;background:#fff;transform:translate(-2px)}.municipal-badge{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700;color:#047857;background:#ecfdf5;padding:6px 12px;border-radius:999px;border:1px solid #a7f3d0}.municipal-badge i{color:#059669}.auth-brand-header{text-align:center;margin-bottom:28px}.auth-brand-logo{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1.5px solid #a7f3d0;color:#059669;font-size:1.8rem;margin-bottom:14px;box-shadow:0 8px 20px #0596691f}.auth-brand-header h1{font-family:Plus Jakarta Sans,sans-serif;font-size:1.85rem;font-weight:800;color:#0f172a;line-height:1.2;margin-bottom:6px;letter-spacing:-.02em}.auth-brand-header p{font-size:.92rem;color:#64748b;margin:0;line-height:1.5}.role-picker-container{margin-bottom:28px}.role-picker-label{display:block;font-size:.85rem;font-weight:700;color:#334155;margin-bottom:10px;text-transform:uppercase;letter-spacing:.04em}.role-picker-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.role-card-btn{border:2px solid #e2e8f0;background:#fff;border-radius:16px;padding:14px 12px;cursor:pointer;text-align:left;transition:all .22s cubic-bezier(.16,1,.3,1);display:flex;align-items:center;gap:12px;position:relative;-webkit-user-select:none;user-select:none}.role-card-btn:hover{border-color:#cbd5e1;background:#f8fafc;transform:translateY(-2px)}.role-card-btn.active{border-color:#059669;background:#f0fdf4;box-shadow:0 6px 18px #0596691f}.role-card-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}.farmer-icon-bg{background:#ecfdf5;color:#059669}.buyer-icon-bg{background:#eff6ff;color:#2563eb}.role-card-btn.active .farmer-icon-bg{background:#059669;color:#fff}.role-card-btn.active .buyer-icon-bg{background:#2563eb;color:#fff}.role-card-text{display:flex;flex-direction:column}.role-card-name{font-size:.95rem;font-weight:800;color:#0f172a;line-height:1.2;margin-bottom:2px}.role-card-sub{font-size:.72rem;color:#64748b;line-height:1.3}.role-card-btn.active .role-card-name{color:#047857}.role-card-check{position:absolute;top:10px;right:10px;font-size:1rem;color:#cbd5e1;transition:color .2s ease}.role-card-btn.active .role-card-check{color:#059669}.auth-form{display:flex;flex-direction:column;gap:20px}.form-field{display:flex;flex-direction:column;gap:6px}.field-label{font-size:.88rem;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:4px}.required-mark{color:#dc2626;font-weight:700}.field-sublabel{font-size:.75rem;color:#64748b;font-weight:500}.input-icon-box{position:relative;display:flex;align-items:center;width:100%}.input-left-icon{position:absolute;left:14px;color:#94a3b8;font-size:1rem;pointer-events:none;z-index:2;transition:color .2s ease}.auth-input,.auth-select{width:100%;padding:13px 16px 13px 42px;font-size:.95rem;font-family:inherit;color:#0f172a;background:#fff;border:1.5px solid #cbd5e1;border-radius:12px;box-shadow:0 1px 2px #00000008;outline:none;transition:all .2s ease}.auth-input::placeholder{color:#94a3b8;font-weight:400}.auth-input:hover,.auth-select:hover{border-color:#94a3b8}.auth-input:focus,.auth-select:focus{border-color:#059669;box-shadow:0 0 0 3.5px #05966926;background:#fff}.input-icon-box:focus-within .input-left-icon{color:#059669}.phone-prefix-wrap{display:flex;align-items:stretch;border:1.5px solid #cbd5e1;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 1px 2px #00000008;transition:all .2s ease}.phone-prefix-wrap:hover{border-color:#94a3b8}.phone-prefix-wrap:focus-within{border-color:#059669;box-shadow:0 0 0 3.5px #05966926}.flag-badge{display:flex;align-items:center;gap:6px;padding:0 14px;background:#f8fafc;border-right:1.5px solid #e2e8f0;-webkit-user-select:none;user-select:none}.flag-emoji{font-size:1.15rem;line-height:1}.country-code{font-size:.95rem;font-weight:700;color:#0f172a}.phone-native-input{border:none!important;border-radius:0!important;box-shadow:none!important;padding-left:12px!important}.password-box .auth-input{padding-right:48px}.password-toggle-btn{position:absolute;right:12px;width:32px;height:32px;border-radius:8px;border:none;background:transparent;color:#64748b;font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.password-toggle-btn:hover{color:#059669;background:#f1f5f9}.auth-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;background:#fff;padding-right:40px}.select-arrow{position:absolute;right:14px;color:#64748b;pointer-events:none;font-size:.85rem}.field-tip{font-size:.76rem;color:#64748b;line-height:1.4;display:flex;align-items:flex-start;gap:6px;margin-top:3px}.field-tip i{color:#059669;margin-top:2px;flex-shrink:0}.privacy-badge-box{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;font-size:.74rem;color:#475569;margin-top:4px}.privacy-badge-box i{color:#059669;font-size:.85rem;flex-shrink:0}.terms-card-row{padding:12px 14px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:12px;transition:border-color .2s ease}.terms-card-row:hover{border-color:#cbd5e1}.custom-label-wrap{display:flex;align-items:flex-start;gap:10px;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-label-wrap input[type=checkbox]{width:18px;height:18px;margin-top:2px;accent-color:#059669;cursor:pointer;flex-shrink:0}.terms-caption{font-size:.84rem;color:#334155;line-height:1.45}.terms-caption a{color:#059669;font-weight:700;text-decoration:underline}.terms-caption a:hover{color:#047857}.auth-submit-btn{width:100%;padding:15px 24px;background:linear-gradient(135deg,#059669,#047857);color:#fff;font-family:inherit;font-size:1rem;font-weight:700;border:none;border-radius:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 4px 14px #05966940;transition:all .22s ease}.auth-submit-btn:hover{background:linear-gradient(135deg,#047857,#064e3b);box-shadow:0 8px 24px #05966959;transform:translateY(-2px)}.auth-submit-btn:active{transform:translateY(0)}.auth-submit-btn:disabled{background:#94a3b8;box-shadow:none;cursor:not-allowed;transform:none}.auth-bottom-row{text-align:center;margin-top:24px;padding-top:20px;border-top:1px solid #e2e8f0}.auth-bottom-row p{font-size:.9rem;color:#64748b;margin:0}.auth-bottom-row a{color:#059669;font-weight:700;text-decoration:none;margin-left:4px}.auth-bottom-row a:hover{text-decoration:underline}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0f172abf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}.modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;max-width:600px;width:100%;max-height:88vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 60px #00000040}.modal-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;background:#f8fafc}.modal-body{padding:24px;overflow-y:auto;font-size:.9rem;line-height:1.6;color:#334155}.modal-footer{padding:16px 24px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;background:#f8fafc}
