/* style.css - drSathi Admin Gateway Layout */

:root {
    --primary: #0cb8b6;
    --dark: #1e293b;
    --bg: #f8fafc;
    --text-muted: #64748b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.portal-container {
    max-width: 850px;
    width: 100%;
    text-align: center;
}

.portal-header {
    margin-bottom: 40px;
}

.portal-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.portal-header h1 span {
    color: var(--primary);
}

.portal-header p {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

.gateway-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    width: 100%;
    margin-bottom: 40px;
}

.gateway-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.03);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gateway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: transparent;
    transition: 0.3s;
}

.gateway-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(12, 184, 182, 0.08);
    border-color: var(--primary);
}

.gateway-card:hover::before {
    background: var(--primary);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f0fdfa;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.card-official .icon-circle {
    background: #eff6ff;
    color: #3b82f6;
}

.gateway-card:hover .icon-circle {
    transform: scale(1.1);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-enter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--dark);
    transition: 0.2s;
}

.gateway-card:hover .btn-enter {
    background: var(--primary);
    color: white;
}

.portal-footer {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 640px) {
    .gateway-grid { grid-template-columns: 1fr; gap: 20px; }
    .portal-header h1 { font-size: 28px; }
    .gateway-card { padding: 30px 20px; }
}