:root {
    --respectify-message-color: rgba(135, 206, 235, 1); /* Skyblue CSS constant in hex */
    --respectify-message-background-color: rgba(135, 206, 235, 0.15); /* Skyblue CSS constant, semitransparent */
}

.respectify-message {
    font-size: medium;
    font-size: var(--wp--preset--font-size--medium);
}

.respectify-message p:first-child {
    margin-top: 0;
}

.respectify-message p {
    margin: 0.8rem 0 0;
}

/* Override WordPress error page styles - this is the non-JS message  */
#error-page .respectify-message p:first-child {
    margin-top: 0;
}

/* Override WordPress error page styles - this is the non-JS message */
#error-page .respectify-message p {
    margin: 0.8rem 0 0;
}

.respectify-error {
    margin-top: 10px;
    border: 1px solid var(--respectify-message-color);
    border-radius: 0.4rem;
    background-color: var(--respectify-message-background-color);
    padding: 1rem;
}

.respectify-success {
    color: green;
    background-color: rgba(0, 255, 0, 0.15);
    margin-top: 10px;
}

.respectify-working-message {
    margin-top: 10px;
}

/* The div that contains feedback. It's inside a .respectify-message .respectify-error div */
.respectify-feedback {
    font-size: medium;
}

/* This is inside respectify-feedback and is a div that contains a suggestion.
   It's highlighted separately. */
.respectify-suggestion {
    border: 1px solid var(--respectify-message-color);
    border-radius: 0.7rem;
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    padding: 0.3rem;
    padding-left: 0.75rem;
    margin-left: -0.75rem; /* Opposite of padding, so text is aligned while its container is outside it */
}

/* Respectify branding footer */
.respectify-branding {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--respectify-message-color);
    text-align: right;
    opacity: 0.8;
}

.respectify-branding a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
}

.respectify-branding a:hover {
    opacity: 1;
}

.respectify-branding .respectify-logo {
    height: 32px;
    width: 157px;  /* SVG aspect ratio: 564x115, so 32px height = 157px width */
    max-height: 32px;
    max-width: 157px;
    min-height: 32px;
    min-width: 157px;
    flex-shrink: 0;
    object-fit: contain;
}

.respectify-branding span {
    font-size: 0.7em;
    opacity: 0.7;
}

