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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 400px;
    width: 100%;
}

.dashboard-container {
    max-width: 800px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

h2 {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: normal;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #667eea;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

button:active {
    transform: translateY(0);
}

.error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.links {
    text-align: center;
    margin-top: 20px;
}

.links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.links a:hover {
    text-decoration: underline;
}

.user-info {
    background: #f7f9fc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.user-info h3 {
    color: #333;
    margin-bottom: 10px;
}

.user-info p {
    color: #666;
    margin: 5px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.nav h1 {
    margin: 0;
}

.btn-secondary {
    width: auto;
    padding: 10px 20px;
    background: #e1e8ed;
    color: #333;
}

.btn-secondary:hover {
    background: #d1d8dd;
}

.welcome-section {
    text-align: center;
    padding: 60px 20px;
}

.welcome-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.button-group button {
    width: auto;
    padding: 12px 30px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.dashboard-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tile {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.tile:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
    transform: translateY(-2px);
}

.tile-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f5f5f5;
}

.tile-disabled:hover {
    border-color: #e0e0e0;
    box-shadow: none;
    transform: none;
}

.tile-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.tile h3 {
    margin: 10px 0;
    color: #333;
}

.tile p {
    color: #666;
    font-size: 14px;
}
