/* Basic Dashboard Styling */
* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; margin: 0; padding: 0; background: #f4f6f8; color: #333; }

.login-container { display: flex; align-items: center; justify-content: center; height: 100vh; background: #fff; }
.login-box { text-align: center; padding: 40px; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }

.layout { display: flex; min-height: 100vh; }
.sidebar { width: 250px; background: #1a1f36; color: #fff; display: flex; flex-direction: column; padding: 20px; }
.sidebar h2 { margin-top: 0; margin-bottom: 40px; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-link { color: #aab7c4; text-decoration: none; padding: 10px 0; display: block; }
.nav-link:hover, .nav-link.active { color: #fff; }

.main { flex: 1; display: flex; flex-direction: column; }
.header { background: #fff; padding: 15px 30px; border-bottom: 1px solid #eaedf0; display: flex; justify-content: space-between; align-items: center; }
.content { padding: 30px; overflow-y: auto; }

.card { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); padding: 20px; margin-bottom: 20px; }
.card h3 { margin-top: 0; color: #1a1f36; font-size: 1.1rem; }

table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #eee; font-size: 0.9rem; }
th { color: #697386; font-weight: 500; }
.badge { padding: 4px 8px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.badge-active { background: #e3f9e5; color: #1f7a36; }
.badge-blocked { background: #ffebeb; color: #c42b2b; }
.badge-success { background: #e3f9e5; color: #1f7a36; }
.badge-failed { background: #ffebeb; color: #c42b2b; }
.badge-queued { background: #fff5eb; color: #b76e00; }

button { cursor: pointer; padding: 6px 12px; border: 1px solid #dcdfe6; background: #fff; border-radius: 4px; }
button:hover { background: #f6f8fa; }
button.primary { background: #3c4257; color: #fff; border: none; }
button.danger { background: #d73a49; color: #fff; border: none; }

.hidden { display: none; }
