* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #1BA0E2;
    --primary-dark: #1590CC;
    --secondary-color: #FF7A00;
    --bg-color: #E8EEF4;
    --card-bg: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
/* Container */
.container {
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}
/* Phone Frame Style */
.phone-frame {
    padding: 0;
    background: var(--card-bg);
}
/* Header */
.header {
    padding: 32px 24px 30px;
}
.header-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.header-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}
/* Tab Switch */
.tab-switch {
    display: flex;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 4px;
    margin: 0 24px 24px;
}
.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn.active {
    background: var(--card-bg);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}
/* Form Styles */
.form-container {
    padding: 0 24px 24px;
}
.input-group {
    margin-bottom: 16px;
}
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    background: var(--card-bg);
}
.input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(27, 160, 226, 0.1);
}
.input-wrapper input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
}
.input-wrapper input::placeholder {
    color: var(--text-muted);
}
/* Hide browser native password reveal button (Edge/Chrome) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-password-toggle-button {
    display: none;
}
.input-icon {
    padding: 0 16px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}
.input-icon:hover {
    color: var(--text-secondary);
}
.input-icon svg {
    width: 22px;
    height: 22px;
}
/* Primary Button */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 160, 226, 0.3);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-primary:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
/* Footer Link */
.footer-link {
    text-align: center;
    padding: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}
.footer-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.footer-link a:hover {
    text-decoration: underline;
}
/* Account Header */
.account-header {
    padding: 32px 24px 20px;
}
.account-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
}
.account-time {
    font-size: 14px;
    color: var(--text-secondary);
}
.account-info {
    padding: 0 24px 100px;
}
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}
.info-label {
    font-size: 14px;
    color: var(--text-secondary);
}
.info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}
/* Logout Button */
.btn-logout {
    width: 100%;
    padding: 16px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
}
.btn-logout:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}
/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 100;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-item svg {
    width: 24px;
    height: 24px;
}
.nav-item.active {
    color: var(--primary-color);
}
.nav-item:hover {
    color: var(--primary-color);
}
/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    padding: 32px 24px 16px;
    gap: 16px;
}
.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}
.back-btn svg {
    width: 24px;
    height: 24px;
}
.page-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}
/* Chat */
.chat-container {
    padding: 24px;
    text-align: center;
}
.chat-illustration {
    width: 180px;
    height: 180px;
    margin: 0 auto 24px;
}
.chat-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.chat-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.chat-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}
.btn-chat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-chat:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 160, 226, 0.3);
}
.btn-chat svg {
    width: 20px;
    height: 20px;
}
/* App Footer */
.app-footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: auto;
    width: 100%;
}
.app-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
/* Toast Notification */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-primary);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 200;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}
/* Slide Up Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.slide-up {
    animation: slideUp 0.6s ease forwards;
}
/* Scale Up Animation */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.scale-up {
    animation: scaleUp 0.5s ease forwards;
}
/* Stagger Animation */
.stagger-1 {
    animation-delay: 0.1s;
}
/* Error Page */
.error-code {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-color);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-family: monospace;
}
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
@media (max-width: 480px) {
    body {
        padding: 0;
        align-items: flex-start;
    }
    .container {
        max-width: 100%;
        border-radius: 0;
        min-height: 100vh;
    }
    .bottom-nav {
        max-width: 100%;
        border-radius: 0;
    }
}
