/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

#root,
#__next {
    isolation: isolate;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container { 
    width: 98%;
    margin: auto;
}

.full-height {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer {
    text-align: center;
    padding: 1rem 0;
}

.header { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.paste-form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 80vh;
    width: 100%; 
}

.paste-form__textarea {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    resize: none;

}

.options-bar {
    padding: .25rem .25rem;
    display: flex;
    justify-content: space-between;
}

.options-bar__button {
    padding: .25rem 1rem;
    cursor: pointer;
}

.error-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.error-page__title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-page__message {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.error-page__link {
    font-size: 1rem;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.error-page__link:hover {
    color: #0056b3;
}

.expiration-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expiration-options__input {
    padding: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 4px;
} 