/**
 * Dashboard Styles
 * Color scheme matching legacy CSC Webtools
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.header h1 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.header p {
    color: #7f8c8d;
}

.user-info {
    background: #ecf7fd;
    border-left: 4px solid #17a2b8;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.user-info h2 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.user-info .user-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    color: #333;
}

.user-info .user-details strong {
    color: #2c3e50;
}

.section-heading {
    color: #FFA500;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 10px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.tool-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.tool-card h3 {
    color: #e74c3c;
    margin-bottom: 0;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
}

.tool-card p {
    color: #95a5a6;
    font-size: 12px;
    margin-top: 4px;
}

.tool-card .tool-icon {
    font-size: 60px;
    margin-bottom: 8px;
    display: block;
}

.login-prompt {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    text-align: center;
}

.login-prompt h2 {
    color: #2c3e50;
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: 600;
}

.login-prompt p {
    color: #7f8c8d;
    margin-bottom: 32px;
    font-size: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: #17a2b8;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn:hover {
    background: #138496;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.logout-link {
    margin-top: 20px;
}

.logout-link a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

.logout-link a:hover {
    text-decoration: underline;
}

.env-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.env-production {
    background: #27ae60;
    color: white;
}

.env-test {
    background: #3498db;
    color: white;
}

.env-development {
    background: #FFA500;
    color: #2c3e50;
}

.placeholder-notice {
    background: #fff8e1;
    border-left: 4px solid #FFA500;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #f57c00;
}

.placeholder-notice strong {
    display: block;
    margin-bottom: 8px;
    color: #e65100;
}
