/* Mobile Specific Styles */

.mobile-view {
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.mobile-container {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Mobile Header */
.mobile-header {
    height: 60px;
    background: var(--farm-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-header h1 {
    font-size: 18px;
    font-weight: 600;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    color: var(--farm-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Mobile Content */
.mobile-content {
    flex: 1;
    background: var(--bg-secondary);
    padding-bottom: 80px;
    overflow-y: auto;
}

/* Screens */
.screen {
    display: none;
    padding: 20px;
    animation: slideIn 0.3s ease;
}

.screen.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Date & Weather */
.date-weather {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
}

.date {
    font-size: 16px;
    margin-bottom: 4px;
}

.weather {
    font-size: 14px;
    color: var(--text-secondary);
}

/* CTA Button */
.cta-button {
    width: 100%;
    height: 80px;
    background: var(--farm-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.cta-icon {
    font-size: 32px;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 20px;
    flex: 1;
}

.count-badge {
    background: var(--farm-green);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

/* Activity Cards */
.activity-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.activity-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.activity-type {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.activity-details {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Screen Header */
.screen-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.back-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.screen-header h2 {
    font-size: 20px;
    flex: 1;
}

/* Progress Bar */
.progress-bar {
    margin-bottom: 24px;
}

.progress-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.progress-track {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--farm-green);
    transition: width 0.3s ease;
}

/* GPS Suggestion */
.gps-suggestion {
    background: #e3f2fd;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.gps-icon {
    font-size: 24px;
}

.gps-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.gps-field {
    font-size: 16px;
    font-weight: 600;
}

.use-location-btn {
    width: 100%;
    height: 56px;
    background: var(--sky-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
}

.section-divider {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 20px 0;
}

/* Field List */
.field-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field-item {
    background: white;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.field-info {
    flex: 1;
}

.field-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.field-meta {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Forms */
.activity-form,
.materials-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
}

.form-select,
.form-input {
    height: 56px;
    padding: 0 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background: white;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--farm-green);
}

.field-hint {
    font-size: 14px;
    color: var(--text-secondary);
}

.fill-max-btn,
.add-input-btn {
    height: 44px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.time-label {
    font-size: 14px;
    font-weight: normal;
}

.form-input-small {
    height: 48px;
    padding: 0 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.form-textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
}

/* Buttons */
.next-btn,
.save-btn {
    height: 56px;
    background: var(--farm-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.skip-btn,
.text-btn {
    height: 48px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.btn-large {
    width: 100%;
    height: 56px;
    background: var(--farm-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
}

.btn-secondary {
    background: white;
    color: var(--farm-green);
    border: 2px solid var(--farm-green);
}

/* Photo Section */
.photo-section {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.photo-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.photo-btn {
    height: 48px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

/* Confirmation */
.confirmation-icon {
    text-align: center;
    font-size: 64px;
    margin: 32px 0;
}

.confirmation-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 32px;
}

.confirmation-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.confirmation-icon-large {
    text-align: center;
    font-size: 48px;
    margin-bottom: 16px;
}

.confirmation-details {
    text-align: center;
    margin-bottom: 24px;
}

.detail-row {
    padding: 4px 0;
}

.cost-summary {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.cost-summary h4 {
    margin-bottom: 12px;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.cost-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.cost-total {
    font-weight: 700;
    font-size: 18px;
}

.sync-status {
    text-align: center;
    font-size: 14px;
    color: var(--success);
    margin-top: 24px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    height: 72px;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    flex: 1;
    padding: 8px;
}

.bottom-nav .nav-item.active {
    color: var(--farm-green);
}

.nav-icon {
    font-size: 24px;
}

.nav-label {
    font-size: 12px;
}

.view-all-btn {
    width: 100%;
    height: 48px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.activity-summary {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 24px;
}

.divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

/* Activity Type Grid */
.activity-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
}

.activity-type-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.activity-type-card:active {
    transform: scale(0.95);
    background: var(--bg-secondary);
}

/* Confirmation Screen */
.confirmation-content {
    padding: 32px 16px;
}

.confirmation-summary {
    background: white;
    border-radius: 12px;
    padding: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span {
    color: #666;
}

.summary-item strong {
    color: #000;
    font-weight: 600;
}

/* Form styling improvements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input[readonly] {
    background: var(--bg-secondary);
    color: #666;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-primary, .btn-secondary {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--farm-green);
    color: white;
}

.btn-primary:active {
    background: #234012;
}

.btn-secondary {
    background: white;
    color: var(--farm-green);
    border: 2px solid var(--farm-green);
}

.btn-secondary:active {
    background: var(--bg-secondary);
}

