body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    outline: none;
}

.tab-button.active {
    background-color: #0056b3;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

h2, h3 {
    color: #333;
}

label {
    display: block;
    margin: 10px 0 5px;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 10px 0px 0px auto;
}

button[type="submit"]:hover {
    background-color: #218838;
}

.success-message {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-top: 20px;
}

#adPreviewContainer {
    width: 100%;
    max-width: 400px;
    /* height: 600px; */
    margin: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

input, textarea, select {
    width: calc(100% - 20px);
}

@media (max-width: 600px) {
    .container {
        max-width: 100%;
        margin: 0px auto;
        padding: 50px 10px;
    }

    .tab-content {
        padding: 0px!important;
    }

    #adPreviewContainer {
        max-width: 100%;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .tab-content {
        padding: 10px;
    }




}