* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #0a0e14;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.main, .date, .desc {
    background: rgba(100, 200, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: #e0f2ff;
    padding: 30px 25px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main p, .date p, .desc p {
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(100, 200, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

label {
    display: block;
}

.main span, .date span, .desc span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #a8d8ff;
    text-align: left;
}


input, textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #e0f2ff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: rgba(100, 200, 255, 0.8);
    background: rgba(100, 200, 255, 0.15);
    box-shadow: 0 0 15px rgba(100, 200, 255, 0.4), inset 0 0 10px rgba(100, 200, 255, 0.1);
}


input:hover, textarea:hover {
    border-color: rgba(100, 200, 255, 0.5);
    background: rgba(100, 200, 255, 0.1);
}


textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}

input::placeholder, textarea::placeholder {
    color: rgba(168, 216, 255, 0.6);
}


.custom-select {
    position: relative;
    width: 100%;
    display: inline-block;
}


.custom-select select {
    display: none;
}


.select-button {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #e0f2ff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    user-select: none;
}

.select-button:hover {
    border-color: rgba(100, 200, 255, 0.5);
    background: rgba(100, 200, 255, 0.1);
}

.select-button:focus {
    outline: none;
    border-color: rgba(100, 200, 255, 0.8);
    background: rgba(100, 200, 255, 0.15);
    box-shadow: 0 0 15px rgba(100, 200, 255, 0.4), inset 0 0 10px rgba(100, 200, 255, 0.1);
}

.select-button.active {
    border-color: rgba(100, 200, 255, 0.8);
    background: rgba(100, 200, 255, 0.15);
    box-shadow: 0 0 15px rgba(100, 200, 255, 0.4);
    border-radius: 10px 10px 0 0;
}

.select-arrow {
    pointer-events: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: #a8d8ff;
}

.select-button.active .select-arrow {
    transform: rotate(180deg);
}

.select-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f1419 !important;
    border: 2px solid rgba(100, 200, 255, 0.8);
    border-top: none;
    border-radius: 0 0 10px 10px;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.select-menu.active {
    max-height: 300px;
    overflow-y: auto;
}

.select-menu li {
    padding: 12px 15px !important;
    color: #64c8ff !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(100, 200, 255, 0.15);
    font-weight: 500;
    background: #0f1419 !important;
    margin: 0 !important;
    list-style: none !important;
}

.select-menu li:last-child {
    border-bottom: none;
}

.select-menu li:hover {
    background: rgba(100, 200, 255, 0.2) !important;
    color: #ffffff !important;
    padding-left: 20px !important;
}

.select-menu li.selected {
    background: rgba(100, 200, 255, 0.3) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.select-menu li.selected::before {
    content: "✓ ";
    margin-right: 8px;
    color: #64c8ff;
    font-weight: bold;
}


.select-menu::-webkit-scrollbar {
    width: 8px;
}

.select-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.select-menu::-webkit-scrollbar-thumb {
    background: rgba(100, 200, 255, 0.4);
    border-radius: 4px;
}

.select-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 200, 255, 0.6);
}


@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .main, .date, .desc {
        max-width: 100%;
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .main p, .date p, .desc p {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    input, textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    textarea {
        min-height: 70px;
    }

    .main span, .date span, .desc span {
        font-size: 0.9rem;
        margin-top: 12px;
    }

    .select-button {
        padding: 10px 12px;
        padding-right: 35px;
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .select-menu {
        max-height: 0;
    }

    .select-menu.active {
        max-height: 250px;
    }

    .select-menu li {
        padding: 10px 12px !important;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .main, .date, .desc {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .main p, .date p, .desc p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    input, textarea {
        padding: 10px;
        font-size: 16px;
        margin-bottom: 12px;
    }

    textarea {
        min-height: 60px;
    }

    .main span, .date span, .desc span {
        font-size: 0.85rem;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .select-button {
        padding: 10px;
        padding-right: 30px;
        font-size: 16px;
    }

    .select-menu {
        max-height: 0;
    }

    .select-menu.active {
        max-height: 200px;
    }

    .select-menu li {
        padding: 10px !important;
    }

    .select-menu li:hover {
        padding-left: 15px !important;
    }
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(100, 200, 255, 0.1) inset !important;
    -webkit-text-fill-color: #e0f2ff !important;
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 200, 255, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 200, 255, 0.5);
}


* {
    scrollbar-color: rgba(100, 200, 255, 0.3) rgba(255, 255, 255, 0.05);
    scrollbar-width: thin;
}




.submit-btn {
    width: 100%;
    padding: 14px 20px;
    margin-top: 20px;
    border: 2px solid rgba(100, 200, 255, 0.6);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.2), rgba(100, 200, 255, 0.05));
    color: #64c8ff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.2);
}

.submit-btn:hover {
    border-color: rgba(100, 200, 255, 0.9);
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.3), rgba(100, 200, 255, 0.1));
    color: #ffffff;
    box-shadow: 0 0 30px rgba(100, 200, 255, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .submit-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

.back {
    position: fixed;
    z-index: 10;
    top: 20px;
    right: 20px;
    text-decoration: none !important;
    color: aliceblue !important;
    text-shadow: 0 0 3px aliceblue;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    background-color: rgb(25, 36, 63);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 3px solid aliceblue;
    transition: all 0.3s ease;
}

.back:hover {
    box-shadow: 0 0 10px aliceblue;
    text-shadow: 0 0 10px aliceblue;
    cursor: pointer;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .back { 
        width: 45px; 
        height: 45px; 
        font-size: 1.2rem; 
        top: 10px; 
        right: 10px; 
    }
}

.anti-click {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    background-color: rgba(0, 0, 0, 0.4); 
}

.succes {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    min-width: 280px;
    height: auto;
    min-height: 200px;
    z-index: 9999;
    background-color: rgba(42, 64, 76, 0.919);
    border: 2px solid aliceblue;
    border-radius: 12px;
    box-shadow: 0 0 20px aliceblue;
}
.succes p {
    color: aliceblue;
    text-shadow: 0 0 5px aliceblue;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    margin-top: 80px;
    margin-left: 80px;
}

.close {
    border-radius: 50px;
    border: 2px solid aliceblue;
    color: aliceblue;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6464;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.2s;
}

@media (max-width: 768px) {
    .succes { width: 80%; height: auto; padding: 20px 0; }
    .succes p { font-size: 1rem; }
}

.close:hover { transform: scale(1.1); }



.reset {
    position: fixed;
    z-index: 10;
    bottom: 20px;
    right: 20px;
    text-decoration: none !important;
    color: aliceblue !important;
    text-shadow: 0 0 3px aliceblue;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    background-color: rgb(25, 36, 63);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 3px solid aliceblue;
    transition: all 0.3s ease;
}

.reset:hover {
    box-shadow: 0 0 10px aliceblue;
    text-shadow: 0 0 10px aliceblue;
    cursor: pointer;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .reset { 
        width: 45px; 
        height: 45px; 
        font-size: 1.2rem; 
        bottom: 10px; 
        right: 10px; 
    }
}