* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 800px;
    width: 90%;
    text-align: center;
}

.header {
    margin-bottom: 40px;
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.status-box {
    display: inline-block;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    color: #4a5568;
}

.status-active {
    color: #27ae60;
    font-weight: bold;
}

.status-pending {
    color: #f39c12;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-unauthorized {
    color: #e74c3c;
    font-weight: bold;
}

.status-authorized {
    color: #2ecc71;
    font-weight: bold;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    display: block;
    padding: 25px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

.card h3 {
    margin-bottom: 10px;
    color: #2980b9;
    font-size: 1.2rem;
}

.card p {
    font-size: 0.9rem;
    color: #666;
}

.card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #2980b9;
}