:root { --primary: #4f46e5; --bg: #f3f4f6; }
body { font-family: 'Inter', sans-serif; background: var(--bg); display: flex; justify-content: center; align-items: center; min-height: 100vh; margin: 0; }
.card { background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); width: 350px; text-align: center; }
.hidden { display: none !important; }
input { width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; }
button { width: 100%; padding: 12px; background: var(--primary); color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: 500; transition: 0.3s; }
button:hover { opacity: 0.9; }
.dashboard { width: 90%; max-width: 1200px; align-self: flex-start; margin-top: 50px; }
nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.doc-item { background: white; padding: 1.5rem; border-radius: 8px; border-left: 5px solid var(--primary); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

#dashboard { width: 95%; max-width: 1200px; margin-top: 30px; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

header { 
    background: white; padding: 1.5rem 2rem; border-radius: 12px; 
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.grid { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 25px; margin-top: 30px; 
}

.company-card {
    background: white; border-radius: 12px; overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s; border: 1px solid #e2e8f0;
    display: flex; flex-direction: column;
}

.company-card:hover { transform: translateY(-5px); box-shadow: 0 12px 20px rgba(0,0,0,0.1); }

.card-header { background: var(--primary); color: white; padding: 15px; font-weight: 700; }

.card-body { padding: 20px; font-size: 0.9rem; color: #475569; line-height: 1.6; }

.card-body b { color: var(--dark); }

.badge {
    background: #dcfce7; color: #166534; padding: 4px 10px; 
    border-radius: 99px; font-size: 0.75rem; font-weight: 600;
}