@tailwind base;
@tailwind components;
@tailwind utilities;
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.custom-size {
    width: 100px;
    height: 100px;
}

.crown-emoji {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-65%, -30%);
    font-size: 2.3rem;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.site-body {
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1 0 auto;
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.footer-spacer {
    height: 4rem;
    flex-shrink: 0;
}

#error_explanation {
    margin-bottom: 1rem;
    border: 1px solid #fca5a5;
    border-radius: 0.5rem;
    background-color: #fef2f2;
    color: #991b1b;
    padding: 0.75rem 1rem;
}

#error_explanation h2 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
}

#error_explanation ul {
    margin: 0;
    padding-left: 1.25rem;
}

.field_with_errors {
    display: block;
}

.field_with_errors label {
    color: #b91c1c;
}

.field_with_errors input,
.field_with_errors textarea,
.field_with_errors select {
    border-color: #ef4444;
    box-shadow: 0 0 0 1px #ef4444;
}
