* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #121212;
    color: #eee;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.main-header {
    background: #1a1a1a;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo .svg {
    display: flex;
    align-items: center;
    padding: 5px;
}

.logo .svg {
    display: block;
}

.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #04e6ff;
    border-radius: 4px;
    font-size: 16px;
    background-color: #333;
    color: white;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #04e6ff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-link,
.signup-link {
    color: #04e6ff;
    font-weight: 500;
    text-decoration: none;
}

.sell-button {
    background: #ffffff00;
    border: 2px solid #04e6ff;
    color: #04e6ff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.sell-button:hover {
    background: #04e6ff;
    color: white;
}

.sell-button:hover .bouutns {
    color: white;

}

/* Navigation */
.main-nav {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 12px 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    overflow-x: auto;
}

.nav-list a {
    text-decoration: none;
    color: #bbb;
    font-weight: 500;
    white-space: nowrap;
}

.nav-list a:hover {
    color: #04e6ff;
}

/* Auth Pages */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-box {
    background: #2d2d2d;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #04e6ff;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}

.social-btn:hover {
    background: #f5f5f5;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.divider span {
    background: #2d2d2d;
    padding: 0 15px;
    color: #aaa;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #ddd;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #666;
    border-radius: 4px;
    font-size: 16px;
    background-color: #444;
    color: white;
}

.input-group input {
    border-color: #04e6ff;
    outline: none;

}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.checkbox-wrap input[type="checkbox"] {
    margin: 0;
}

.form-options {
    text-align: right;
    margin: -10px 0 15px;
}

.forgot-link {
    color: #04e6ff;
    text-decoration: none;
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    background: #04e6ff;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #001a1d;
}

.auth-link {
    text-align: center;
    margin-top: 25px;
    color: #666;
}

.auth-link a {
    color: #04e6ff;
    text-decoration: none;
    font-weight: 500;
}

/* Featured Ads */
.featured-section {
    padding: 40px 0;
}

.featured-section h3 {
    margin-bottom: 25px;
    font-size: 24px;
    color: #04e6ff;
}

.ads-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.ad-card {
    display: block !important;
    background: #2d2d2d;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.ad-card:hover {
    transform: translateY(-3px);
}

.ad-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ad-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.Chiffon {
    display: none;
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffce32;
    color: #333;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.ad-info {
    padding: 18px;
}

.price {
    color: #4af;
    font-size: 20px;
    margin-bottom: 6px;
}

.title {
    color: #0f0;
    margin-bottom: 12px;
    font-weight: 500;
}

.location-time {
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 13px;
}

/* Footer */
.main-footer {
    background: #1a1a1a;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h5 {
    margin-bottom: 15px;
    color: #04e6ff;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
}

.footer-col a:hover {
    color: #04e6ff;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
}

/* Mobile stuff */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .search-container {
        margin: 0;
        max-width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .nav-list {
        gap: 15px;
        padding-bottom: 5px;
    }

    .ads-grid {
        grid-template-columns: 1fr;
    }

    .auth-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .auth-box {
        padding: 25px 15px;
    }

    .ad-card {
        display: flex;
    }

    .ad-img {
        width: 100%;
        height: min-content;
        flex-shrink: 0;
    }

    .ad-info {
        flex: 1;
    }
}

.bouutns {
    background: transparent;
    border: none;
    color: #04e6ff;
    font-weight: 600;
}

.bg select {
    background: #04e6ff00;
    border: 2px solid #04e6ff;
    padding: 10px;
    outline: none;
    color: white;
    border-radius: 130px;
}

.bg textarea {
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    background: #04e6ff00;
    border: 2px solid #04e6ff;
    padding: 10px;
    color: white;
    border-radius: 130px;
}

.bg input {
    outline: none;
    background: #04e6ff00;
    border: 2px solid #04e6ff;
    padding: 10px;
    color: white;
    border-radius: 130px;
}

.bg {
    position: fixed;
    background-color: #000000bd;
    width: 100%;
    height: 100vh;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;

    color: #04e6ff;
}

.addToCartBtn {
    background: #2d2d2d;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 30px rgba(4, 230, 255, 0.3);
}

.addToCartBtn h1 {
    color: #04e6ff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.addToCartBtn label {
    display: block;
    margin-bottom: 20px;
}

.addToCartBtn label p {
    color: #ddd;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 16px;
}

.addToCartBtn input,
.addToCartBtn select,
.addToCartBtn textarea {
    width: 100%;
    outline: none;
    background: #444;
    border: 2px solid #04e6ff;
    padding: 12px 20px;
    color: white;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.addToCartBtn input:focus,
.addToCartBtn select:focus,
.addToCartBtn textarea:focus {
    background: #555;
    border-color: #04e6ff;
    box-shadow: 0 0 10px rgba(4, 230, 255, 0.3);
}

.addToCartBtn input::placeholder,
.addToCartBtn textarea::placeholder {
    color: #999;
}

.addToCartBtn textarea {
    min-height: 100px;
    resize: vertical;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
}

.addToCartBtn select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304e6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

/* Update the existing .bg styles */
.deAcvtive {
    display: none;
}

.bg {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100vh;
    z-index: 10;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    color: #04e6ff;
    transition: all 2s ease;
}

.active {
    display: flex;
}

/* Scrollbar styling for the modal */
.addToCartBtn::-webkit-scrollbar {
    width: 8px;
}

.addToCartBtn::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.addToCartBtn::-webkit-scrollbar-thumb {
    background: #04e6ff;
    border-radius: 4px;
}

.addToCartBtn::-webkit-scrollbar-thumb:hover {
    background: #03b8cc;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .addToCartBtn {
        padding: 30px 20px;
        max-width: 95%;
    }

    .addToCartBtn h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .addToCartBtn label p {
        font-size: 14px;
    }
}

.sellBottun {
    z-index: 200;
    cursor: pointer;
}

.bouutns {
    cursor: pointer;
}

.addYourProduct {
    color: #000;
}

.onProduct>button {
    color: #fff;
}

.onProduct:hover .bouutns {
    color: #000;
}

.onProduct {
    position: fixed;
    top: 32px;
    left: 64.6%;
    padding: 1px 10px;
    font-weight: 900;
}

.boby {
    overflow: hidden;
}


.messasasa {
    color: red;
    font-size: 23px;
    display: flex;
    justify-content: center;
    margin: -22px 0px 0px 0px;


}

.tiat {
    color: #ffffff;
}

.logo a:hover .svg path {
    fill: #04e6ff;
    /* Theme color on hover */
}

.svg path {
    fill: white;
    transition: fill 0.3s ease;
}
