html, body {
    width:100%;
	height: 100%;
    overflow-x:hidden;
    font-family:-apple-system,BlinkMacSystemFont,sans-serif;
    background:#f8f8f8;
    color:#111;
    margin:0;
    padding:0;
	-webkit-overflow-scrolling: touch;
}


.container{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    padding:0 16px 120px 16px;
    box-sizing:border-box;
    overflow-x:hidden;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.card {
    background: white;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.service-item {
    background: white;
    border-radius: 14px;
    text-align: center;
    padding: 14px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.service-item.active {
    border-color: #000;
    transform: scale(1.05);
}

.service-item span {
    display: block;
    font-size: 22px;
}

.job-size-grid {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.job-size {
    flex: 1;
    background: white;
    padding: 14px;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.job-size.active {
    border-color: #000;
    transform: scale(1.05);
}
.primary{
    position:relative;
    z-index:1;
}
button.primary {
    width: 100%;
    background: #2d6cdf;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 14px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

button.primary:hover {
    background: #2457b2;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    background: white;
    border-top: 1px solid #eee;
    padding: 8px 0;
	display:flex;
	z-index:1000;
    border-top-left-radius:15px;
    border-top-right-radius:15px;

}


.bottom-nav a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #888;
    font-size: 12px;
    transition: 0.2s ease;
}

.bottom-nav a.active {
    color: #000;
    font-weight: 600;
}

.bottom-nav .icon {
    display: block;
    font-size: 20px;
    margin-bottom: 2px;
}

.star-rating {
    font-size: 34px;
    text-align: center;
    margin-top: 20px;
}

.star {
    cursor: pointer;
    color: #ddd;
    transition: 0.2s;
}

.star.active {
    color: #000;
}

.top-nav {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #eee;
}

.profile-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.top-center {
    margin-left: 12px;
}

.user-name {
    font-weight: 600;
    font-size: 16px;
}

.location {
    font-size: 13px;
    color: #777;
}

.timeframe-grid {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.timeframe {
    flex: 1;
    background: white;
    padding: 14px;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.timeframe.active {
    border-color: #000;
    transform: scale(1.05);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
}

.status-offered { background:#fff3cd; }
.status-accepted { background:#d4edda; }
.status-completed { background:#cce5ff; }
.status-expired { background:#f8d7da; }
.status-cancelled { background:#eee; }

button.secondary {
    background: #f1f1f1;
    color: #333;
    border: none;
    padding: 14px;
    border-radius: 14px;
    cursor: pointer;
    width: 50%;
	margin-top: 12px;
}

button.secondary:hover {
    background: #ddd;
}

button.decline {
    background: #ff0033;
    color: #FFFFFF;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    width: 35%;
	margin-top: 12px;
}

button.decline:hover {
    background: #CC0029;
}
.complete-box {
    background: #d4edda;
    border: 2px solid #155724;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    font-weight: 600;
}
.job-type.active {
    border: 2px solid #2ecc71;
    background: #eafaf1;
    cursor: pointer;
}

.job-type {
    cursor: pointer;
}
body.nav-open{
overflow:hidden;
}