* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background-color: #0d0d12; color: #ffffff; padding: 20px; }
.container { max-width: 1200px; margin: 0 auto; }

.header-box { display: flex; justify-content: space-between; align-items: center; background: #15151e; padding: 15px 30px; border-radius: 12px; border: 1px solid #333; margin-bottom: 30px; }
.logo { display: flex; align-items: center; font-size: 24px; }
.logo-text { font-weight: bold; background: linear-gradient(90deg, #ff477e, #ff8fab); -webkit-background-clip: text; color: transparent; margin-left: 10px; }

.welcome-neon { font-size: 22px; font-weight: bold; color: #fff; text-shadow: 0 0 5px #00f3ff, 0 0 10px #00f3ff, 0 0 20px #00f3ff; position: relative; overflow: hidden; white-space: nowrap; animation: neonMove 4s linear infinite alternate; }
@keyframes neonMove { 0% { transform: translateX(-20px); opacity: 0.5; } 100% { transform: translateX(20px); opacity: 1; text-shadow: 0 0 10px #00f3ff, 0 0 30px #00f3ff; } }

.main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
@media (max-width: 768px) { .main-content { grid-template-columns: 1fr; } }
.left-col h1 { font-size: 2.2rem; margin-bottom: 15px; }
.left-col p { color: #888; margin-bottom: 25px; line-height: 1.5; }
.action-buttons { display: flex; flex-direction: column; gap: 15px; }
button { padding: 15px; border-radius: 8px; border: none; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px;}
.btn-primary { background: #1a1a2e; color: #fff; border: 1px solid #333; }
.btn-primary:hover { background: #2a2a40; }
.btn-secondary { background: transparent; color: #fff; border: 1px solid #444; }

.custom-create-box { display: flex; gap: 10px; background: #1a1a2e; padding: 5px; border-radius: 8px; border: 1px solid #333;}
.custom-create-box input { flex: 1; background: transparent; border: none; color: #fff; padding: 10px; outline: none; }
.custom-create-box select { background: #2a2a40; color: #fff; border: none; padding: 10px; border-radius: 6px; outline: none;}
.custom-create-box button { background: #2d88ff; color: #fff; padding: 10px 20px; }

.right-col { background: #15151e; padding: 30px; border-radius: 12px; border: 1px solid #333; display: flex; flex-direction: column; justify-content: center;}
.right-col .label { font-size: 12px; color: #888; letter-spacing: 1px; margin-bottom: 10px; }
.right-col h2 { font-size: 20px; word-break: break-all; margin-bottom: 20px; color: #00f3ff;}
.btn-copy { background: #2d88ff; color: white; margin-bottom: 15px; }
.status-bar { background: rgba(0, 255, 100, 0.1); color: #00ff64; padding: 10px; border-radius: 6px; font-size: 14px; text-align: center; }

.inbox-section { background: #15151e; border-radius: 12px; border: 1px solid #333; padding: 20px; }
.inbox-header { border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 15px; }
.badge { background: #2d88ff; padding: 2px 8px; border-radius: 10px; font-size: 14px; }
.ai-support-btn { position: fixed; bottom: 30px; right: 30px; background: linear-gradient(45deg, #6a11cb, #2575fc); padding: 15px 20px; border-radius: 50px; cursor: pointer; font-weight: bold; box-shadow: 0 4px 15px rgba(0,0,0,0.5); z-index: 100;}

/* Giao diện Popup Modal Xem Thư */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-content { background-color: #1a1a2e; margin: 5% auto; padding: 30px; border: 1px solid #333; width: 70%; border-radius: 12px; color: white; box-shadow: 0 5px 30px rgba(0,0,0,0.5); }
.close-btn { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.close-btn:hover { color: #ff477e; }
@media (max-width: 768px) { .modal-content { width: 95%; margin: 10% auto; padding: 20px; } }