﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
    font-size: 1rem;
}





body {
    background: linear-gradient(to bottom, #ffffff, #dcdcdc);
    height: 100%;
    min-height: 100vh;
}

form {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ---------- HEADER ---------- */
header {
    /*background: linear-gradient(to right, #ffffff 60%, #f5f5f5 80%, #eaeaea 100%);*/
    padding: 15px 5px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: relative;
    top: 0;
    z-index: 999;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    text-align: center;
}


/* ---------- LOGO ---------- */
.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-container {
    position: relative;
    width: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}



    /* Laser scanning effect */
    .logo-container::after {
        content: "";
        position: absolute;
        top: -20%;
        left: 0;
        width: 100%;
        height: 10px;
        background: rgba(255, 0, 0, 0.25);
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
        animation: laser-scan 3s linear infinite;
    }

@keyframes laser-scan {
    0% {
        top: -20%;
        opacity: 0.1;
    }

    10% {
        opacity: 0.35;
    }

    50% {
        top: 100%;
        opacity: 0.4;
    }

    80% {
        opacity: 0.25;
    }

    100% {
        top: -20%;
        opacity: 0.1;
    }
}






/* ---------- MAIN ---------- */
main {
    display: flex;
    justify-content: center;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-top: 10px;
    min-height: 50vh;
    width: 100%
}


/* ---------- FOOTER ---------- */
footer {
    background: linear-gradient(to right, #e3e3e3, #d1d1d1);
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    margin: 10px 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

    footer a {
        margin: 0 20px;
        text-decoration: none;
        color: #333;
        font-weight: 600;
        transition: 0.2s;
    }

        footer a:hover {
            color: #000;
            text-decoration: underline;
        }






.laser-link {
    text-decoration: none;
    color: blue;
    font-size: 1rem;
    padding-bottom: 5px;
    position: relative;
    display: inline-block;
}

    .laser-link::after {
        content: '';
        position: absolute;
        width: 0%;
        height: 3px;
        bottom: 0;
        left: 0;
        background-color: #ff0000;
        box-shadow: 0 0 7px #ff0000, 0 0 15px #ff0000;
        transition: width 0.3s ease-out;
    }

    .laser-link:hover {
        text-decoration: none;
        color: #000;
    }

        .laser-link:hover::after {
            width: 100%;
        }





.CssError {
    background: linear-gradient(to bottom, #ef0b0b26 30%, #f5f5f5 80%, #eaeaea 100%);
    padding: 15px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-top: 5px;
    margin-bottom: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid red;
    width: 100%;
}

.CssDone {
    background: linear-gradient(to bottom, #23690026 30%, #f5f5f5 80%, #eaeaea 100%);
    padding: 15px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-top: 5px;
    margin-bottom: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid green;
    width: 100%;
}


.mybutton {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #090909;
    padding: 10px;
    /*font-size: 18px;*/
    border-radius: 0.5em;
    background: linear-gradient(90deg,rgba(235, 235, 235, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(232, 230, 230, 1) 100%);
    cursor: pointer;
    border: 1px solid #a59f9f;
    transition: all 0.3s;
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 5px #ffffff;
    margin: 5px;
    width: 100%;
}

    .mybutton:hover {
        border: 1px solid white;
        background: linear-gradient(90deg,rgba(235, 235, 235, 1) 0%, rgba(255, 255, 255, 1) 100%, rgba(232, 230, 230, 1) 50%);
    }

    .mybutton:active {
        box-shadow: 4px 4px 12px #c5c5c5, -4px -4px 5px #ffffff;
        background-color: red;
    }

.icon-inline {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 5px;
}





/* ---------- RESPONSIVE ---------- */
@media (max-width: 500px) {

    .container {
        width: 100%;
        max-width: 1200px;
        margin: auto;
        padding: 0px;
    }

    /* ---------- HEADER ---------- */
    header {
        background: linear-gradient(to bottom, #ffffff 60%, #f5f5f5 80%, #eaeaea 100%);
        padding: 5px 0;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
        position: relative;
        top: 0;
        z-index: 999;
        margin-top: 0px;
    }


    /*nav {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }*/


    .right {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 0px;
        width: 100%;
    }


    header details summary, .classLogbutt {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-weight: 400;
        padding: 5px 5px;
        background: #fff;
        border-radius: 5px;
        border: 1px solid #ccc;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        list-style: none;
        user-select: none;
        width: 100px;
    }


    main {
        padding: 5px;
    }
}