@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/dist/tabler-icons.min.css");

body {
    background-color: #121212;
    color: #DDD;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    padding: 0;
}

.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.error-body {
    max-width: 700px;
    width: 100%;
    background-color: #1B1B1B;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.error-header {
    background-color: #222;
    border-bottom: 1px solid #333;
    padding: 16px 20px;
    font-size: 16px;
    color: #EEE;
    font-weight: 700;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 16px;
    text-align: center;
}

.error-gif-wrapper {
    position: relative;
    width: 498px;
    height: 270px;
    border-radius: 6px;
    overflow: hidden;
}

.error-gif {
    width: 100%;
    height: 100%;
    object-fit: fill;
    background-color: #000;
    display: block;
}

.gif-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #7EBE7E;
    font-size: 14px;
    text-align: center;
    pointer-events: none;
    user-select: none;
}

.error-gif-wrapper:hover .gif-overlay {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.gif-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.gif-text {
    font-weight: 500;
    color: #BBB;
}

.error-content span {
    font-size: 14px;
    line-height: 1.5;
    color: #BBB;
}

.error-footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: #222;
    border-top: 1px solid #333;
    gap: 10px;
    flex-wrap: wrap;
}

.button {
    background-color: #7EBE7E;
    color: #1B1B1B;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.button:hover {
    background-color: #6DAA6D;
    text-decoration: underline;
}

.button.cancel {
    background-color: #444;
    color: #EEE;
}

.button.cancel:hover {
    background-color: #555;
    text-decoration: underline;
}
