/**
 * SummPress Admin Styles
 *
 * Styles for the SummPress plugin settings page.
 */

/* Settings Page */
.toplevel_page_summpressai .wrap {
    max-width: 960px;

}

@media (min-width: 1160px) {
    .toplevel_page_summpressai .wrap {
        margin: 0 auto;
    }
}


.toplevel_page_summpressai h1 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccd0d4;
}

/* Tabs */
.toplevel_page_summpressai .nav-tab-wrapper {
    margin-bottom: 30px;
}

.toplevel_page_summpressai .nav-tab {
    font-size: 14px;
}

.toplevel_page_summpressai .nav-tab:focus {
    box-shadow: none;
    outline: none;
}

/* Form Elements */
.toplevel_page_summpressai form {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.toplevel_page_summpressai .form-table th {
    padding: 20px 10px 20px 0;
    width: 200px;
}

.toplevel_page_summpressai .form-table td {
    padding: 15px 10px;
}

.toplevel_page_summpressai .regular-text {
    width: 350px;
}

.toplevel_page_summpressai select {
    min-width: 200px;
}

/* API Key Fields */
.summpress-toggle-password {
    margin-left: 5px !important;
    vertical-align: middle;
}

/* Description */
.toplevel_page_summpressai .description {
    font-style: italic;
    color: #666;
    margin-top: 5px;
}

/* Section Headings */
.toplevel_page_summpressai h2:not(.nav-tab-wrapper) {
    font-size: 16px;
    padding: 10px 0;
}

/* Submit Button */
.toplevel_page_summpressai .submit {
    padding: 15px 0 0 0;
    margin-top: 15px;
    border-top: 1px solid #f0f0f1;
}

/* Links */
.toplevel_page_summpressai a {
    color: #2271b1;
    text-decoration: none;
}

.toplevel_page_summpressai a:hover {
    color: #135e96;
}

/* Responsive */
@media screen and (max-width: 782px) {
    .toplevel_page_summpressai .form-table th {
        width: 100%;
        padding-bottom: 5px;
    }

    .toplevel_page_summpressai .regular-text {
        width: 100%;
    }
}

#toplevel_page_summpressai img {
    width: 16px !important;
}


.toplevel_page_summpressai .nav-tab-active {
    background: #fff;
}


.extension-endpoint-url {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb !important;;
    padding: 7px 10px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.summpress-copy-extension-endpoint-url {
    vertical-align: baseline !important;
}

.summpress-comming-soon {
    max-width: 960px;

}

.summpress-comming-soon img {
    width: 100% !important;
    border-radius: 20px;
}

.extension-google-chrome-url {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb !important;;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: .25rem;
    display: inline-block;
}

.extension-google-chrome-url a,
.extension-google-chrome-url a:hover {
    color: #721c24 !important;
    display: block;
    width: 100%;
    height: 100%;
}


.summpress-banner {
    max-width: 960px;
    margin: 0 auto;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(ellipse at 70% 30%, #5a39e8 0%, #271965 100%);
    position: relative;
    border-radius: 18px;
    padding: 32px 28px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(44, 0, 81, 0.2);
    min-height: 100px; /* Роби свою висоту */
    flex-wrap: wrap;
}


.summpress-banner__logo {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    margin-right: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 22, 89, 0.32);
    border-radius: 30px;
    box-shadow: 0 2px 12px 0 rgba(80, 60, 160, 0.09);
}

.summpress-banner__logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
}

.summpress-banner__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.summpress-banner__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    letter-spacing: 0.01em;
    text-shadow: 0 4px 16px rgba(50, 20, 65, 0.23),
    0 2px 6px #bbb,
    0 1px 1px rgba(30, 10, 40, 0.15);
    white-space: nowrap; /* однією строкою */
    overflow: hidden;
    text-overflow: ellipsis;
}

.summpress-banner__subtitle {
    font-size: 1.4rem;
    color: #ececec;
    margin-top: 2px;
    font-weight: 400;
    text-shadow: 0 2px 12px rgba(50, 20, 65, 0.19),
    0 1px 6px #bbb;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 700px) {
    .summpress-banner {
        padding: 16px 6px;
        min-height: 80px;
    }

    .summpress-banner__logo {
        width: 64px;
        height: 64px;
        margin-right: 16px;
        border-radius: 13px;
    }

    .summpress-banner__logo img {
        width: 44px;
        height: 44px;
    }

    .summpress-banner__title {
        font-size: 1.15rem;
    }

    .summpress-banner__subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 410px) {
    .summpress-banner {
        padding: 5px 1px;
    }

    .summpress-banner__logo {
        width: 36px;
        height: 36px;
        margin-right: 7px;
        border-radius: 8px;
    }

    .summpress-banner__logo img {
        width: 22px;
        height: 22px;
    }

    .summpress-banner__title {
        font-size: 0.9rem;
    }

    .summpress-banner__subtitle {
        font-size: 0.7rem;
    }
}


.notice-browser-extension-requires {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb !important;
    padding: 7px 10px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    text-align: center;
    display: block;
    font-size: 16px !important;
    font-weight: 500;
}
