/* Globální stylování */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 100vh;
    overflow-y: auto;
}

/* Kontejner */
.container {
    width: 90%;
    max-width: 900px;
    background: #1a1a1a;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 20px;
    overflow-y: auto; /* Pro umožnění scrollování */
    height: 100%; /* Zajistí, že obsah bude mít dostatek prostoru */
    max-height: 95vh; /* Max výška */
    text-align: center; /* Zarovnání na střed */
}

/* Header */
header {
    background: #222;
    border-radius: 15px 15px 0 0;
    padding: 20px;
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
    animation: glow 1.5s ease-in-out infinite alternate;
}

header p {
    font-size: 1rem;
    color: #bbb;
}

/* Animace pro Glow efekt */
@keyframes glow {
    0% {
        text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
    }
    100% {
        text-shadow: 0 0 20px #00ffcc, 0 0 30px #00ffcc, 0 0 40px #00ffcc;
    }
}

/* Sekce webhook */
.webhook-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.webhook-input {
    width: 85%;
    padding: 8px;
    border: 2px solid #00ffcc;
    border-radius: 5px;
    font-size: 1rem;
    background: #222;
    color: #fff;
    transition: all 0.3s ease;
}

.webhook-input:focus {
    border-color: #00e6b8;
    outline: none;
}

/* Tlačítka */
.add-btn, .send-btn, .add-file-btn {
    background: #00ffcc;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 0 5px #00ffcc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.add-btn:hover, .send-btn:hover, .add-file-btn:hover {
    background: #00e6b8;
    transform: scale(1.05);
    box-shadow: 0 0 15px #00ffcc;
}

/* Tlačítko pro odstranění webhooku */
.remove-btn {
    background: #ff3333;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #ff1a1a;
    transform: rotate(90deg);
}

/* Tlačítko pro odstranění souboru */
.remove-file-btn {
    background: #ff3333;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.remove-file-btn:hover {
    background: #ff1a1a;
    transform: rotate(90deg);
}

/* Sekce zpráva a obrázky */
textarea, input[type="file"] {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 2px solid #00ffcc;
    border-radius: 5px;
    background: #222;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

textarea:focus, input[type="file"]:focus {
    border-color: #00e6b8;
    outline: none;
}

/* Zaškrtnutí @everyone - zvětšení */
.mention-section input[type="checkbox"] {
    transform: scale(1.5);
    margin: 0 10px;
}

.mention-section label {
    font-size: 1.2rem;
    color: #fff;
}

/* Responsivní design */
@media (max-width: 600px) {
    .webhook-input {
        width: 70%;
        font-size: 0.9rem;
    }

    .remove-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .add-btn, .send-btn, .add-file-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}