body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.app {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
}

.secret__header {
    text-align: center;
    margin-bottom: 2rem;
}


.secret__title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffcc00;
    margin: 0;
    line-height: 1.1;
}

.secret__subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0.25rem 0 1rem 0;
}

.secret__description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.5;
    max-width: 80%;
    margin: 0 auto;
}

.secret__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form__label {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

.form__textarea {
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #333;
    background-color: #1e1e1e;
    color: #f5f5f5;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form__textarea:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

.form__select {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #333;
    background-color: #1e1e1e;
    color: #f5f5f5;
}

.form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.form__textarea.error {
    border: 2px solid red;
    outline: none;
}

.button {

    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.button--primary {
    background-color: #ffcc00;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.button--primary:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}

.button--danger {
    background-color: #e53935;
    color: #ffffff;
}

.button--danger:hover {
    background-color: #d32f2f;
}

.form__helper {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.2;
    margin-top: 0.25rem;
    margin-bottom: 0;
    font-style: italic;
}

.secret__confirmation,
.error-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #1e1e1e;
    border-left: 4px solid #ffcc00;
}

.error-message {
    border-left-color: #e53935;
}

.secret--create:has(.form__textarea:focus) {
    scroll-margin-top: 2rem;
}


.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1e1e1e;
    color: #ccc;
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    z-index: 1000;
}

.footer__content {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer__nav {
    display: flex;
    gap: 1.5rem;
}


.footer__link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer__link:hover {
    color: #ffcc00;
}

.footer__powered {
    font-weight: 500;
    color: #ccc;
    white-space: nowrap;
}

.footer__powered-link {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 600;
}

.footer__powered-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.secret__links {
    margin-top: 1rem;
}

.secret__links p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.secret__links a.secret__url {
    color: #FFD700;
    text-decoration: none;
    word-break: break-all;
}

.secret__links a.secret__url:hover {
    text-decoration: underline;
}

.secret--deleted,
.secret--manage,
.secret--retrieve {
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
    background-color: #1e1e1e;
    color: #FFD700;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.secret--deleted p,
.secret--manage p,
.secret--retrieve p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.secret--deleted .form__actions,
.secret--manage .form__actions,
.secret--retrieve .form__actions {
    display: flex;
    justify-content: center;
}

.secret--deleted .button,
.secret--manage .button,
.secret--retrieve .button {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
}

.secret__display-box {
    background-color: #1e1e1e;
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.secret__info--center {
    text-align: center;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 15px;
}

.secret__info a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s, text-decoration 0.2s;
}

.secret__info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.secret__textarea--wide {
    width: 99%;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
    background-color: #2a2a2a;
    color: #fff;
}

.secret__actions--center {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.button.button--primary {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
}

.secret__quote {
    width: 80%;
    margin: 60px auto;
    padding: 40px 0;
    text-align: center;
    font-size: 3.5rem;
    color: rgb(43, 43, 43);
    font-style: italic;
    line-height: 1.4;
    user-select: none;
}

.secret__quote .author {
    display: block;
    text-align: right;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    font-style: normal;
}