* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #00274C;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 100px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.logo-container {
    margin-bottom: 20px;
}

.um-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.login-card h1 {
    color: #00274C;
    margin-bottom: 5px;
    font-size: 2.5rem;
    font-weight: bold;
}

.login-card h2 {
    color: #00274C;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: normal;
}

.login-card p {
    color: #666;
    margin-bottom: 15px;
}

.login-card p:first-of-type {
    color: #00274C;
    font-weight: 600;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: #FFCB05;
    color: #00274C;
    font-weight: bold;
}

.btn-primary:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    font-size: 14px;
    padding: 8px 16px;
}

.btn-secondary:hover {
    background: #5a6268;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.um-logo-nav {
    max-height: 40px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.app-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00274C;
    line-height: 1.2;
}

.building-name {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-user span {
    color: #666;
}

.dashboard {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.elevator-status h2 {
    margin-bottom: 30px;
    color: #333;
}

.status-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.status-text {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
}

.status-indicator.locked .status-text {
    background: #ffebee;
    color: #c62828;
}

.status-indicator.unlocked .status-text {
    background: #e8f5e8;
    color: #2e7d32;
}

.last-unlock-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    border-left: 4px solid #FFCB05;
}

.last-unlock-info h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.unlock-details p {
    margin: 8px 0;
    color: #666;
}

.unlock-details strong {
    color: #333;
}

.btn-toggle {
    font-size: 1.2rem;
    padding: 15px 40px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.btn-toggle.unlock {
    background: #FFCB05;
    color: #00274C;
    font-weight: bold;
}

.btn-toggle.unlock:hover {
    background: #e6b800;
    transform: scale(1.05);
}

.btn-toggle.lock {
    background: #00274C;
    color: #FFCB05;
    font-weight: bold;
}

.btn-toggle.lock:hover {
    background: #001a33;
    transform: scale(1.05);
}

.btn-toggle:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}