:root {
    --primary-color: #47C2F9;
    --primary-dark: #008CC0;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #eee;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition-base: all 0.3s ease;
    --success-color: #4CAF50;
    --error-color: #f44336;
    --navbar-height: 64px;
}

* {
    /* margin: 0;
    padding: 0; */
    
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    min-height: 100vh;
    /* box-sizing: border-box; */
    /* -webkit-font-smoothing: antialiased; */
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--navbar-height);
}

/* .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

/* .logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo a {
    color: var(--white);
    text-decoration: none;
} */

/* .nav-profile {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
} */

.page-container {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
    box-sizing: border-box;
}

.main-content {
    flex: 1;
    /* width: 100%; */
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    font-size: 1.8rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--white);
    box-sizing: border-box;
}

#txtPickUpdaDate {
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-content {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-base);
}

.option-card input:checked + .option-content {
    border-color: var(--primary-color);
    background: #e3f2fd;
}

.option-content i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.input-with-info {
    position: relative;
}

.info-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eco-impact {
    margin-top: 2rem;
    padding: 1rem;
    background: #e8f5e9;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.eco-impact i {
    font-size: 1.5rem;
    color: #4CAF50;
}

.eco-impact p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    gap: 1rem;
}

.back-btn {
    padding: 1rem;
    border: none;
    background: var(--background-light);
    color: var(--text-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.continue-btn {
    flex: 1;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.continue-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.continue-btn:not(:disabled):hover {
    background: var(--primary-dark);
}

.hidden {
    display: none !important;
}

.success-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-message.visible {
    opacity: 1;
    visibility: visible;
}

.success-content {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease;
}

.success-content h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    animation: slideUp 0.5s ease 0.2s both;
}

.success-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: slideUp 0.5s ease 0.3s both;
}

.success-actions {
    display: flex;
    gap: 1rem;
    animation: slideUp 0.5s ease 0.4s both;
}

button:focus {
    outline: none;
    background-color: var(--primary-color) !important;
}

.primary-button,
.secondary-button {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
}

.primary-button {
    background: var(--primary-color);
    color: white;
}

.secondary-button {
    background: var(--background-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.selected-dates-container {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.date-chip {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.date-chip i {
    color: var(--primary-color);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .page-container {
        padding-bottom: 120px;
    }

    .main-content {
        padding: 20px;
    }

    .options-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        padding: 1rem;
    }
}

@supports (-webkit-touch-callout: none) {
    .page-container {
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
    
    .fixed-footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}