body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary {
    background-color: #165dff;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #165dff;
    color: #165dff;
}

.text-center {
    text-align: center;
}

.mt-2 { margin-top: 10px; }
.mt-4 { margin-top: 20px; }

.input-group {
    display: flex;
}
.input-group .form-control {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group .btn {
    width: auto;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 999;
}

.nav-item {
    text-align: center;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}
.nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 2px;
    font-style: normal; /* Remove italic */
}
.nav-item.active {
    color: #165dff;
}

/* Banner Style for Sub-pages */
.banner {
    text-align: center;
    padding: 20px 0;
    background: #165dff;
    color: white;
}
.banner h1 {
    margin: 0;
    font-size: 20px;
}

/* Ad Slider */
.ad-slider { margin: 10px; height: 120px; border-radius: 8px; overflow: hidden; position: relative; }
.ad-slider img { width: 100%; height: 100%; object-fit: cover; position: absolute; transition: opacity 1s; }
