
<style>

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;          /* space between checkbox and text */
    margin-top: 8px;   /* space from above input */
}
   * {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.post-ad-container {
    max-width: 800px;
    margin: 100px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Top Info Layout */


.info-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* pushes left & right */
    flex-wrap: wrap;
    gap: 15px;
}

.info-box-group {
    display: flex;
    gap: 15px;
}

.info-wrapper h2 {
    margin: 0;
    font-size: 20px;
    white-space: nowrap;
}

.info-box {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 200px;
}

.info-box a {
    margin-left: 10px;
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Form */

.form-group {
    margin-bottom: 15px;
}

.form-group select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #3498db;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group .radio-group {
    display: flex;
    gap: 100px; /* space between options */
    align-items: center;
}

.form-group .radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

.form-group label {
    display: block;
    font-weight: normal;
    margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group a {
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
    margin-left: 10px;
}

.form-group a:hover {
    text-decoration: underline;
}

/* Rules */
.rules {
    font-size: 14px;
    color: #007bff;
    cursor: pointer;
    margin-bottom: 15px;
    display: inline-block;
    text-decoration: none;
}

.rules:hover {
    color: #0056b3;
}

/* Contact heading */
.form-group h3 {
    margin-bottom: 10px;
}

/* Button */
.post-btn {
    width: 100%;
    padding: 12px;
    background: #28a745;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

.post-btn:hover {
    background: #218838;
}

.top-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.top-info-bar h2 {
    margin: 0;
    font-size: 20px;
    color: #111;
}

.right-boxes {
    display: flex;
    gap: 15px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}

.info-box a {
    font-size: 15px;
    color: #070707;
    text-decoration: none;
}

.info-box a:hover {
    text-decoration: underline;
}

.location-link {
    font-size: 18px;       /* increase text size */
    color: #007bff;        /* blue color */
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}

.location-icon {
    font-size: 22px;
    color: #e74c3c;
    margin-right: 6px;
}

.location-link,
.location-link:hover,
.location-link:focus,
.location-link:active {
    text-decoration: none !important;
}

.location-link:hover {
    color: #007bff;
}

.change-link {
    color: #007bff;
    text-decoration: none;
}

.change-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.rules-container {
    display: flex;
    justify-content: flex-end; /* pushes content to the right */
}

.post-title {
    text-align: center;
    background: #f19705;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    margin-top:0px;
}
.submenu-icon {
    margin-right: 6px;
}

.dialog-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.dialog-content {
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    text-align: center;
    min-width: 250px;
}

.dialog-content button {
    margin-top: 15px;
    padding: 6px 15px;
    border: none;
    background: #3498db;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.highlight-focus {
    border: 2px solid #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.6);
    transition: 0.2s;
}

.cattle-icon {
    color: #8b5a2b;   /* cow/brown natural color */
    font-size: 18px;  /* adjust size if needed */
    transition: 0.3s;
}

.cattle-icon:hover {
    color: #5c3a1e;   /* darker brown on hover */
}

.poultry-icon {
    color: #f4a300;   /* hen / egg yellow */
    font-size: 18px;
    transition: 0.3s;
}

.poultry-icon:hover {
    color: #d68910;
}