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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f4d03f 0%, #f39c12 100%);
    min-height: 100vh;
}

/* Login Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url('../img/Fundo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.login-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 208, 63, 0.8);
    backdrop-filter: blur(8px);
    z-index: -1;
}

.login-box {
    background: rgba(255, 255, 255, 0.178);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container h1 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 10px;
}

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

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #f39c12;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3f69f4 0%, #103ac5 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.alert {
    color: rgb(255, 255, 255);
    background-color: rgb(87, 7, 7);
}

.demo-info {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Dashboard Styles */
.dashboard-container {
    min-height: 100vh;
    background: #f5f5f5;
}

.dashboard-header {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    color: #333;
    margin-bottom: 5px;
}

.header-left span {
    color: #666;
    font-size: 14px;
}

.logout-btn {
    padding: 8px 16px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #c82333;
}

.dashboard-main {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #f39c12;
}

.orders-section, .quick-actions {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.orders-section h2, .quick-actions h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background 0.3s;
}

.order-item:hover {
    background: #f8f9fa;
}

.order-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.order-id {
    font-weight: bold;
    color: #333;
}

.order-status {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
}

.order-details p {
    color: #333;
    font-weight: 500;
}

.order-details small {
    color: #666;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.action-btn {
    padding: 15px;
    background: linear-gradient(135deg, #f4d03f 0%, #f39c12 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
    font-size: 14px;
}

.action-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .dashboard-main {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}
