/* Global Styles */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --info-color: #17a2b8;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Navbar */
.navbar-custom {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-custom .navbar-brand {
    color: white !important;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.9) !important;
    margin: 0 0.5rem;
    transition: all 0.3s;
}

.navbar-custom .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 450px;
    width: 100%;
}

.auth-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

/* Home Page */
.main-container {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header-section {
    margin-bottom: 3rem;
}

.main-icon {
    font-size: 5rem;
    color: var(--primary-color);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Waste Cards */
.waste-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
    height: 100%;
    border: 3px solid transparent;
}

.waste-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.organic-card {
    border-color: #28a745;
}

.organic-card:hover {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.recyclable-card {
    border-color: #007bff;
}

.recyclable-card:hover {
    background: linear-gradient(135deg, #007bff 0%, #17a2b8 100%);
    color: white;
}

.waste-card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.organic-card .waste-card-icon {
    color: #28a745;
}

.recyclable-card .waste-card-icon {
    color: #007bff;
}

.waste-card:hover .waste-card-icon,
.waste-card:hover .waste-card-title,
.waste-card:hover .waste-card-subtitle,
.waste-card:hover .waste-card-description {
    color: white !important;
}

.waste-card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.waste-card-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.waste-card-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Activity Cards */
.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.activity-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.activity-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    min-height: 60px;
}

/* Form Styles */
.form-header {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-header {
    border: none;
    padding: 1.25rem 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

/* Dashboard Stats */
.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-right: 1.5rem;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.stat-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Info Box */
.info-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: white;
    padding: 2rem 0;
    margin-top: 4rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        padding: 2rem 1rem;
    }

    .waste-card {
        margin-bottom: 2rem;
    }

    .auth-card {
        padding: 2rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.waste-card, .activity-card, .card {
    animation: fadeIn 0.5s ease-out;
}