/* =========================================================
   Pass Community Hub
   Main Styles
   ========================================================= */

.pass-community-form {
    width: 100%;
    max-width: 620px;
    margin: 24px auto;
    padding: 24px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.pass-community-form *,
.pass-community-form *::before,
.pass-community-form *::after {
    box-sizing: border-box;
}

.pass-community-form label {
    display: block;
    margin-bottom: 16px;
    font-weight: 600;
}

.pass-community-form input,
.pass-community-form textarea,
.pass-community-form select {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 7px;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    line-height: 1.5;
}

.pass-community-form input:focus,
.pass-community-form textarea:focus,
.pass-community-form select:focus {
    outline: none;
    border-color: #111827;
}

.pass-community-form textarea {
    min-height: 120px;
    resize: vertical;
}

.pass-community-form button,
.pass-community-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 46px;
    padding: 11px 22px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.pass-community-form .pass-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
}

.pass-community-form .pass-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
}

/* =========================================================
   Plugin Pages
   ========================================================= */

.pass-plugin-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pass-plugin-page .page-body {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   Registration Page - Responsive Fix
   ========================================================= */

.pass-plugin-page .pass-community-form {
    width: 100%;
    max-width: 620px;
    margin: 24px auto;
    box-sizing: border-box;
    transform: none;
}

.pass-plugin-page .pass-community-form input,
.pass-plugin-page .pass-community-form textarea,
.pass-plugin-page .pass-community-form select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

    .pass-plugin-page {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pass-plugin-page .page-body {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    .pass-plugin-page .pass-community-form {
        width: 100%;
        max-width: none;
        margin: 16px 0;
        padding: 18px 14px;
        box-sizing: border-box;
        border-radius: 14px;
        transform: none;
    }

    .pass-plugin-page .pass-community-form label {
        margin-bottom: 14px;
    }

    .pass-plugin-page .pass-community-form input,
    .pass-plugin-page .pass-community-form textarea,
    .pass-plugin-page .pass-community-form select {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        font-size: 16px;
        box-sizing: border-box;
    }

    .pass-plugin-page .pass-community-form button,
    .pass-plugin-page .pass-community-form input[type="submit"] {
        width: 100%;
        min-height: 46px;
        box-sizing: border-box;
    }
}

/* =========================================================
   Very Small Screens
   ========================================================= */

@media (max-width: 380px) {

    .pass-plugin-page .pass-community-form {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .pass-plugin-page .pass-community-form input,
    .pass-plugin-page .pass-community-form textarea,
    .pass-plugin-page .pass-community-form select {
        font-size: 16px;
    }
}