﻿html, body {
    /*height: 100%;*/
    margin: 0;
    width: 100%; /* Ensure the body takes full width */
}

.containerDiv {
    width: 100%;
    height: 650px;
    /* height: 100vh; /* Full viewport height */ */ display: flex; /* Use Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    /* background-color: #f0f0f0; */
}

.nav-tabs {
    /* border-bottom: none !important; */
}

.content {
    width: 100%;
    /* max-width: 600px; /* Add a max width for larger screens */ */ background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form {
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    height: 200px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    button:hover {
        background-color: #0056b3;
    }


.slider-container {
    margin: 0px 0px 0px 0px !important;
    /*width: 300px !important;*/
}

.output-container {
    margin-top: 20px;
}

.slide-out {
    width: 250px;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: -270px; /* Hidden off the screen */
    background-color: #333;
    color: white;
    border-radius: 0 5px 5px 0;
    transition: 0.4s;
}

    .slide-out.show {
        left: 0; /* Show slide-out panel */
    }

    .slide-out button {
        background-color: #555;
        border: none;
        color: white;
        padding: 10px;
        cursor: pointer;
    }

        .slide-out button:hover {
            background-color: #777;
        }

.slider {
    width: 100%;
}

.output-value {
    font-size: 1.3em;
    font-weight: bold;
}

/* Custom styles for slider handle */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    transition: background 0.15s ease-in-out;
}

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background-color: #007bff;
        border-radius: 50%;
        cursor: pointer;
    }

    input[type="range"]::-moz-range-thumb {
        width: 20px;
        height: 20px;
        background-color: #007bff;
        border-radius: 50%;
        cursor: pointer;
    }

.slider-div {
    flex: 1; /* Makes both divs equal in size */
    /*margin: 10px;*/
    margin: 0px 10px 50px 0px;
    border: 1px solid #ddd;
    /*padding: 20px;*/
    padding: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.dvcontainer {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    /*padding: 20px;*/
    /*padding: 0px;*/
    padding: 0px 0px 0px 11px;
    height: 300px;
}
/* Default styles (for large screens) */
.slider-div {
    flex: 1; /* Both divs are equal in size by default */
    /*margin: 10px;*/
    margin: 0px 10px 50px 0px;
    border: 1px solid #ddd;
    /*padding: 20px;*/
    padding: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.dvcontainer {
    display: flex;
    justify-content: space-between;
    /*padding: 20px;*/
    /*padding: 0px;*/
    padding: 0px 0px 0px 11px;
}

/* Media query for tablets or smaller screens */
@media (max-width: 768px) {
    .footer {
        position: relative;
        bottom: -120px !important;
        width: 100%;
        white-space: nowrap;
        /* line-height: 60px; */
    }
}

/* Media query for small screens (like mobile) */
@media (max-width: 480px) {
    .footer {
        position: relative;
        bottom: -120px !important;
        width: 100%;
        white-space: nowrap;
        /* line-height: 60px; */
    }
}

/* Media query for tablets or smaller screens */
/*@media (max-width: 768px) {
    .dvcontainer {
        flex-direction: column;*/ /* Stack divs vertically */
        /*height: 400px;
    }

    .slider-div {
        flex: 1;*/
        /*margin-bottom: 20px;*/
        /*margin: 0px 10px 50px 0px;
    }
    .slider-container {
        margin: 0px 0px 0px 0px !important;
        width: 300px !important;
    }
}*/

/* Media query for small screens (like mobile) */
/*@media (max-width: 480px) {
    .slider-div {
        padding: 15px;
        margin: 0px 10px 50px 0px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
        flex-basis: 100%;*/ /* Take full width */
    /*}

    .dvcontainer {
        padding: 0px;
        height: 300px;
    }
    .slider-container {
        margin: 0px 0px 0px 0px !important;
        width: 300px !important;
    }
}*/

.btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

    .btn svg {
        margin-right: 8px; /* Space between icon and text */
        fill: white; /* Set the color of the SVG icon */
        width: 20px;
        height: 20px;
    }

    .btn:hover {
        background-color: #007baf !important;
    }

.button-container {
    display: flex;
    justify-content: space-between; /* Spacing between the buttons */
    /* gap: 10px; /* Adjust the space between buttons */ */ padding: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

    .btn svg {
        margin-right: 0px !important; /* Space between icon and text */
        fill: white; /* Set the color of the SVG icon */
        width: 20px;
        height: 20px;
    }

    .btn:hover {
        background-color: #45a049;
    }

.nav-tabs {
    border-bottom: none !important;
}

.nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*padding-left: 15px !important;*/
    /*margin-bottom: -21px !important;*/
    /* margin-bottom: 0; */
    list-style: none;
}
.nav-tabs .nav-item {
    margin-bottom: -25px;
}
#outer {
    width: 100%;
    text-align: center;
}

.inner {
    display: inline-block;
}

.toggleLabel {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .toggleLabel input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggleSpan {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

    .toggleSpan:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .toggleSpan {
    background-color: #2196F3;
}

    input:checked + .toggleSpan:before {
        transform: translateX(26px);
    }

.text {
    margin-left: 10px;
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
}

.container22 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: #f0f0f0;
}

.left-box2 {
    background-color: #2196F3;
    color: white;
    padding: 20px;
}

.right-box2 {
    background-color: #4CAF50;
    color: white;
    padding: 20px;
}

.flex-container {
    display: flex;
    flex-wrap: nowrap;
}

    .flex-container > div {
        width: 350px;
        margin: 10px;
        /* text-align: center; */
    }

    .flex-container > .flexdiv {
        width: 300px;
        margin: 0px;
        /* text-align: right; */
        margin-top: 50px;
    }

.savebutton {
    float: right;
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
    padding: 20px;
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 1.125rem;
    margin-top: -2rem;
}

.centered-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height:600px;
    /*height: 100vh;*/ /* Full viewport height */
    text-align: center; /* Center text horizontally */
}

    /* Optional: styling for the text and content */
    /*.centered-div div {*/
        /* background-color: lightgray; */
        /*padding: 20px;
        border-radius: 8px;
    }*/

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /*line-height: 60px;*/
}

.blurred-content {
    width: auto;
    height: auto;
    margin: 20px 0;
    padding: 20px;
    display:block;
    background-color: #f1f1f1;
    color: transparent;
    text-align: center;
    font-size: 20px;
    overflow: hidden;
    filter: blur(8px);
    transition: filter 0.3s, color 0.3s;
}

.revealed-content {
    color: #333;
    filter: none;
}

#passphrase-section {
    /* display: none; */
    margin-top: 10px;
}

.blurred {
    filter: blur(5px);
    pointer-events: none;
}
/* Hidden content that will be revealed */
#hidden-content {
    display: none;
    text-align: center;
    margin-top: 50px;
}

#input-area {
    margin-top: 20px;
}
/* Overlay for blur effect */
.overlay {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}
/* The main content will be blurred until the action */
#contentReveal {
    position: relative;
    text-align: center;
    margin: 150px;
}
/* Ensure the "Click to View" link appears above the overlay */
#clickToView {
    position: relative;
    z-index: 2;
}

.container {
    height: -webkit-fill-available;
    max-width: 1000px !important;
}

.btn {
    display: inline-block;
    padding: 0.5em 1em; /* Adjusts padding based on the text size */
    font-size: 1rem; /* Set a relative font size (can be changed) */
    text-align: center; /* Centers the text */
    border: none;
    background-color: #007bff; /* Button background */
    color: white; /* Button text color */
    cursor: pointer;
    border-radius: 5px;
}

/* Ensure the button adjusts width based on the text */
.btn-primary {
    width: auto;
    white-space: nowrap; /* Prevents text from wrapping */
}

    /* Optional: Add hover effect for a better user experience */
    .btn-primary:hover {
        background-color: #0056b3;
    }

.copy-container {
    position: relative;
    display: inline-flex;
    align-items: center; /* Center-aligns vertically */
    gap: 10px; /* Space between h5 and button */
}

.copy-button {
    /*color: white;*/
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .copy-button:hover {
        /*background-color: #0056b3;*/
    }

.copy-message {
    color: red;
    font-size: 14px;
    margin-left: 10px;
    display: none; /* Initially hidden */
}

button.copy-button {
    width: 100%;
    padding: 10px;
    /*background-color: #007bff;*/
    /*color: white;*/
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.clickable-svg {
    cursor: pointer;
}
    .clickable-svg:hover ~ #copyTool {
        visibility: visible;
        opacity: 1;
    }
.tooltip {
    position: relative;
   /* bottom: 185px;
    left: 71%;*/
    /*transform: translateX(-50%);*/
    padding: 5px 10px;
    background-color: #333;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

    .tooltip.show {
        visibility: visible;
        opacity: 1;
    }


/*.copy-svg {
    cursor: pointer;
    margin: 10px 0;
    height: 25px;
    width: 25px;
}*/

#content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #ccc;
    max-width: 1000px;
}

#spanContent {
    flex-grow: 1;
    text-align: center;
    margin-right: auto;
}
.tooltipReveal {
    position: relative;
   /* bottom: 459px;
    left: 73%;*/
    transform: translateX(0%);
    padding: 5px 10px;
    background-color: #333;
    color: white;
    border-radius: 4px;
    font-size: 12px;
     visibility: hidden; 
     opacity: 0; 
    transition: opacity 0.3s ease;
    white-space: nowrap;
}
    .tooltipReveal.show {
        visibility: visible;
        opacity: 1;
    }


.navbar-brand {
    display: inline-block;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
     margin-bottom: 0px !important; 
    border-radius: 5px;
    border: 1px solid #ccc;
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none; /* Initially hide all tab content */
}

    .tab-pane.active {
        display: block; /* Show active tab content */
    }