* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    min-height: 100vh;
    background: #0f172a;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-wrapper {
    width: 100%;
    max-width: 960px;
}

.card {
    background: #020617;
    border-radius: 12px;
    border: 1px solid #1f2937;
    padding: 24px 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #e5e7eb;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 4px;
}

.card-actions a,
.card-actions button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #2563eb;
    color: #e5e7eb;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.card-actions a.btn-secondary,
.btn-secondary {
    background: #020617;
    border-color: #374151;
}

.card-actions a:hover,
.card-actions button:hover,
.btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-secondary:hover {
    background: #020617;
    border-color: #4b5563;
}

.form-group {
    margin-bottom: 14px;
}

label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #9ca3af;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #2563eb;
}

.error-message {
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(248, 113, 113, 0.1);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.notice-message {
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.08);
    color: #facc15;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.page-header h1 {
    font-size: 1.3rem;
    font-weight: 600;
}

.page-header-nav a {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: none;
    margin-left: 10px;
}

.page-header-nav a:hover {
    color: #e5e7eb;
}

.table-wrapper {
    margin-top: 12px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

thead {
    background: #020617;
}

th, td {
    padding: 8px 10px;
    border-bottom: 1px solid #111827;
}

th {
    text-align: left;
    font-weight: 500;
    color: #9ca3af;
}

tr:nth-child(even) td {
    background: rgba(15, 23, 42, 0.5);
}

tr:hover td {
    background: rgba(37, 99, 235, 0.12);
}

.small-text {
    font-size: 0.8rem;
    color: #9ca3af;
}

.process-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.process-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #111827;
    background: rgba(15, 23, 42, 0.85);
    text-decoration: none;
    color: #e5e7eb;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.05s ease;
}

.process-item:hover {
    border-color: #2563eb;
    background: rgba(15, 23, 42, 1);
    transform: translateY(-1px);
}

.process-main {
    display: flex;
    flex-direction: column;
}

.process-title {
    font-size: 0.95rem;
    font-weight: 500;
}

.process-meta {
    font-size: 0.8rem;
    color: #9ca3af;
}

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.badge-active {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.7);
    color: #bbf7d0;
}

.badge-soon {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.6);
    color: #facc15;
}
