/* Custom CSS for unsubscribe page */

/* Center the logo */
.header {
    text-align: center;
}

.header .logo {
    display: block;
    text-align: center;
}

.header .logo a {
    display: inline-block;
}

/* Center the unsubscribe content */
.section {
    text-align: center;
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

.unsub-form div {
    text-align: center;
}

.unsub-form p {
    text-align: center;
}

/* Center the unsubscribe button */
.unsub-form button,
#btn-unsub {
    margin: 20px auto;
    display: block;
    padding: 18px 40px;
    font-size: 1.2em;
    min-width: 200px;
}

/* Hide the "Powered by listmonk" footer */
footer.container {
    display: none;
}

/* Additional styling for better presentation */
.wrap {
    max-width: 450px;
}

/* Style the angry face logo if needed */
.header .logo img {
    max-height: 120px;
}

/* Fix mobile layout - prevent container from going to top left */
@media screen and (max-width: 650px) {
    .container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .wrap {
        margin: 20px;
        padding: 30px;
        max-width: calc(100% - 40px);
        box-sizing: border-box;
    }

    /* Make button responsive on mobile */
    .unsub-form button,
    #btn-unsub {
        min-width: 150px;
        padding: 15px 25px;
        font-size: 1em;
        width: auto;
        max-width: 100%;
    }
}
