body {
    font-family: Arial, sans-serif;
    background-image: url(./officai\ testl.png);
    background-repeat: no-repeat;
    background-size:cover;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffffc5;
}

h1 {
    text-align: center;
    color: #0066cc;
}

.switch-holder {
    display: flex;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.7),
                10px 10px 10px rgba(0, 0, 0, 0.603),
                inset 8px 8px 15px rgba(255, 255, 255, 0.7),
                inset 10px 10px 10px rgba(0, 0, 0, 0.63);
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-container {
    margin-top: 20px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.form-container.active {
    display: block;
    opacity: 1;
}

.form-group {
    margin: 15px 0;
}

.slider-label {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.marks-input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: inset -8px -8px 15px rgba(255, 255, 255, 0.6),
                inset 10px 10px 10px rgba(0, 0, 0, 0.25);
    font-size: 16px;
}

.marks-input:focus {
    border-color: #0dec57;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 179, 60, 0.5);
}

.points-display {
    margin-top: 5px;
    font-size: 16px;
    color: #ff0101;
}

.total-points h3 {
    color: #0066cc;
    text-align: center;
}
/* Switch Button Styles */
.switch-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    height: 55px;
}

.switch-button .switch-outer {
    height: 100%;
    background: #f0f0f5;
    width: 115px;
    border-radius: 165px;
    box-shadow: inset 0px 5px 10px 0px #d0d0e1, 0px 3px 6px -2px #b0b0c2;
    border: 1px solid #ccc;
    padding: 6px;
    box-sizing: border-box;
    cursor: pointer;
    tap-highlight-color: transparent;
}

.switch-button .switch-outer input[type="checkbox"] {
    opacity: 0;
    appearance: none;
    position: absolute;
}

.switch-button .switch-outer .button-toggle {
    height: 42px;
    width: 42px;
    background: linear-gradient(#e0e0ea, #c0c0d0);
    border-radius: 100%;
    box-shadow: inset 0px 5px 4px 0px #b0b0c2, 0px 4px 15px 0px #9090a2;
    position: relative;
    z-index: 2;
    transition: left 0.3s ease-in;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.switch-button .switch-outer .button-toggle::before {
    content: "DAY"; /* Default text */
}

.switch-button .switch-outer input[type="checkbox"]:checked + .button .button-toggle::before {
    content: "ONLINE"; /* Change to "ONLINE" when checked */
}

.switch-button .switch-outer input[type="checkbox"]:checked + .button .button-toggle {
    left: 58%;
}

.switch-button .switch-outer .button {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    jubody {
        font-family: Arial, sans-serif;
        background-color: #f0f0f0;
        color: #333;
        margin: 0;
        padding: 0;
    }
    
    .container {
        max-width: 600px;
        margin: 50px auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    h1 {
        text-align: center;
        color: #0066cc;
    }
    
    .switch-holder {
        display: flex;
        padding: 10px 20px;
        border-radius: 10px;
        box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.7),
                    10px 10px 10px rgba(0, 0, 0, 0.603),
                    inset 8px 8px 15px rgba(255, 255, 255, 0.7),
                    inset 10px 10px 10px rgba(0, 0, 0, 0.63);
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .form-container {
        margin-top: 20px;
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
    
    .form-container.active {
        display: block;
        opacity: 1;
    }
    
    .form-group {
        margin: 15px 0;
    }
    
    .slider-label {
        text-align: center;
        margin-top: 10px;
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }
    
    .marks-input {
        width: 100%;
        padding: 8px;
        margin-top: 5px;
        margin-bottom: 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
        box-shadow: inset -8px -8px 15px rgba(255, 255, 255, 0.6),
                    inset 10px 10px 10px rgba(0, 0, 0, 0.25);
        font-size: 16px;
    }
    
    .marks-input:focus {
        border-color: #00b33c;
        outline: none;
        box-shadow: 0 0 10px rgba(0, 179, 60, 0.5);
    }
    
    .points-display {
        margin-top: 5px;
        font-size: 16px;
        color: #00b33c;
    }
    
    .total-points h3 {
        color: #0066cc;
        text-align: center;
    }
    
    .switch-button {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto;
        height: 55px;
    }
    
    .switch-button .switch-outer {
        height: 100%;
        background: #f0f0f5;
        width: 115px;
        border-radius: 165px;
        box-shadow: inset 0px 5px 10px 0px #d0d0e1, 0px 3px 6px -2px #b0b0c2;
        border: 1px solid #ccc;
        padding: 6px;
        box-sizing: border-box;
        cursor: pointer;
        tap-highlight-color: transparent;
    }
    
    .switch-button .switch-outer input[type="checkbox"] {
        opacity: 0;
        appearance: none;
        position: absolute;
    }
    
    .switch-button .switch-outer .button-toggle {
        height: 42px;
        width: 42px;
        background: linear-gradient(#e0e0ea, #c0c0d0);
        border-radius: 100%;
        box-shadow: inset 0px 5px 4px 0px #b0b0c2, 0px 4px 15px 0px #9090a2;
        position: relative;
        z-index: 1;
        transition: all 1.3s ease;
    }
    
    .switch-button .switch-outer input[type="checkbox"]:checked + .button .button-toggle {
        transform: translateX(58px);
    }
    
    .switch-button .switch-outer .button-indicator {
        position: relative;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: Arial, sans-serif;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 0.5px;
        color: #ccc;
    }
    
    .switch-button .switch-outer input[type="checkbox"]:checked + .button .button-indicator:before {
        content: "Online";
        position: absolute;
        right: 18px;
        z-index: 0;
        color: #0066cc;
    }
    
    .switch-button .switch-outer .button-indicator:before {
        content: "Day";
        position: absolute;
        left: 18px;
        z-index: 0;
        color: #0066cc;
    }
    stify-content: space-between;
}

.switch-button .switch-outer .button-indicator {
    height: 25px;
    width: 25px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 3px solid #ef565f;
    box-sizing: border-box;
    left: 15px;
    position: relative;
}

.switch-button .switch-outer input[type="checkbox"]:checked + .button .button-indicator {
    animation: indicator 1s forwards;
}

@keyframes indicator {
    30% {
        opacity: 0;
    }

    0% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        border: 3px solid #60d480;
        left: -30%;
    }
}
