.mx-ad-form-container {
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
    padding: 25px;
    background: #f8fbfe;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 119, 204, 0.1);
    border: 1px solid #e1f0ff;
}

.mx-ad-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group input {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #cce0ff;
    background: #f0f7ff;
    color: #333;
    font-size: 15px;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #99c2ff;
    opacity: 0.8;
}

.form-group input:focus {
    outline: none;
    border-color: #0077cc;
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
    background: white;
}

.error-message {
    color: #ff4d4d;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.mx-submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to right, #0077cc, #00aaff);
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.2);
    letter-spacing: 0.5px;
}

.mx-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 204, 0.3);
    background: linear-gradient(to right, #006bb3, #0099ff);
}

.mx-submit-btn:active {
    transform: translateY(0);
}
.mxad_container {
    max-width: 1280px;
    margin: 0 auto;
    overflow-x: auto;
    margin-bottom: 20px;
}

.mxad_server-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    table-layout: fixed;
}

.mxad_server-table th {
    background: linear-gradient(to bottom, #5395e7, #1f5495);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

.mxad_server-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.mxad_server-table tr:hover {
    background-color: #f1f1f1;
}

.mxad_server-table a {
    text-decoration: none;
}

.mxad_server-table a:hover {
    text-decoration: underline;
}

.mxad_highlight-top {
    background-color: #fcec0c;
    position: relative;
}

.mxad_status-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mxad_tag-top {
    border: 1px solid #ff9800;
    background-color: #fff3e0;
    color: #ff9800;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.2);
}

.mxad_tag-normal {
    border: 1px solid #2196f3;
    background-color: #e3f2fd;
    color: #2196f3;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.2);
}

.mxad_tag-featured {
    border: 1px solid #e91e63;
    background-color: #fce4ec;
    color: #e91e63;
    box-shadow: 0 2px 4px rgba(233, 30, 99, 0.2);
}

.mxad_tag-expired {
    border: 1px solid #9e9e9e;
    background-color: #f5f5f5;
    color: #9e9e9e;
    box-shadow: 0 2px 4px rgba(158, 158, 158, 0.2);
}

.mxad_btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
    border: none;
}

.mxad_btn-view {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

.mxad_btn-view:hover {
    background-color: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.4);
}

.mxad_btn-renew {
    background-color: #f44336;
    color: white;
    box-shadow: 0 2px 5px rgba(244, 67, 54, 0.3);
}

.mxad_btn-renew:hover {
    background-color: #d32f2f;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(244, 67, 54, 0.4);
}

.ad-content-cell {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    display: inline-block;
}

.container.fluid-widget {
    max-width: 100%;
    padding: 0;
}

.container.fluid-widget .widget {
    margin-bottom: 20px;
}

.content-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .mx-ad-form {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .form-group {
        flex: 1;
        min-width: 0;
    }
    
    .form-group input {
        min-width: 0;
    }
    
    .mx-submit-btn {
        flex: 0 0 100%;
    }
}

@media screen and (min-width: 1200px) {
    .mx-ad-form-container {
        max-width: 1200px;
    }
}

@media screen and (max-width: 768px) {
    .mx-ad-form-container {
        width: 90%;
        padding: 20px;
    }
    .form-group {
        gap: 6px;
    }
}

.top-banner-container {
    position: relative;
    width: 100%;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.top-banner {
    width: 100%;
    height: auto;
    display: block;
}

.banner-buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

.banner-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to right, #0077cc, #00aaff);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.banner-btn:active {
    transform: translateY(0);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0 auto;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-content {
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #333;
    background-color: #f5f5f5;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #0077cc;
    font-size: 26px;
    text-align: center;
}

.rules-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 16px;
}

#mx-ad-form {
    margin-top: 20px;
}

#mx-ad-form .form-group {
    margin-bottom: 20px;
}

#mx-ad-form input {
    font-size: 16px;
    padding: 14px 18px;
}

#mx-ad-form .mx-submit-btn {
    padding: 16px;
    font-size: 18px;
    margin-top: 20px;
}

@keyframes masked-animation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -100% 0;
    }
}
footer{
    display:none;
}