.library-container {
    max-width: 900px;
    margin: 2rem auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.randomizer-card {
    border: 2px solid var(--purple);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.randomizer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.randomizer-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFF;
    font-family: 'Prosto One', sans-serif;
    margin-bottom: 0.5rem;
}

.randomizer-description {
    font-size: 0.95rem;
    color: #bdbdbd;
    margin-bottom: 0.7rem;
}

.randomizer-meta {
    font-size: 0.85rem;
    color: #bdbdbd;
}

.randomizer-author {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 0.85rem;
    color: #ffffff;
}

.randomizer-visibility {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 14px;
    color: #ffffff;
}

.empty-message {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: column;
    text-align: center;
    font-size: 1.2rem;
    padding: 2rem;
}

.randomizer-card-wrapper {
    position: relative;
    width: 100%;
}

.randomizer-card-wrapper {
    width: 100%;
}

.delete-form {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1;
}

.delete-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.2s;
}

.delete-btn:hover {
    background: #c0392b;
}

.empty-message a {
    text-decoration: none;
    border-radius: 100px;
    width: 280px;
    height: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.empty-message a:hover {
    background-color: var(--purple-dark);
}

.my-randomizers-sign {
    font-size: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.favourite-sign {
    font-size: 30px;
    margin-bottom: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .library-container {
        width: 80%;
    }

    .randomizer-visibility {
        bottom: 8px;
    }

    .randomizer-card {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .my-randomizers-sign {
        font-size: 25px;
    }

    .favourite-sign {
        font-size: 25px;
    }
}

