

body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    font-size: 16px;
    margin: 0;
    padding: 0%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

.button-container {
    justify-content: center; 
    margin-top: 70px;
    position: relative;

}

.tab-button.active {
    background-color: #003d73;
}


.tabs {
    display: inline-flex;
}

.tab-button {
    background-color: #275c95;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 2px;
    transition: background-color 0.3s ease;
}

.tab-button:last-child {
    margin-right: 0;
}

.tab-button:hover {
    background-color: #003d73;
}

.tab-content {
    display: none; 
}

#generate.active {
    display: block;
}

#generate .container {
    width: 800px;
  }


#read.active {
    display: block; 
    width: 20%;
}   

#read .container {
    width: 700px;
    height: 100px;
  }

.modal {
    display: none; 
    position: fixed; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.5); 
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content p {
    margin: 5px 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

header {
    width: 100%;
    margin-top: 0;
    background-color: rgb(80, 75, 85);
    padding: 10px;
    margin-bottom: 0px;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.header-titles {
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    margin-left: 20px;
    padding-bottom: 10px;
}

header .logo {
  
    width: 40px;
    height: auto; 
}

header h1 {
    margin: 0;
    font-size: 28px;
    color: white;
}

header h2 {
    margin: 0;
    font-size: 15px;
    color: #ddddddda;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 20px;
}

.language-switcher {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px;
}

.language-switcher a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;
}

.language-switcher a:hover {
    text-decoration: underline;
}

.contacts {
    margin-top: 5px;
}

.contacts a {
    color: white;
    text-decoration: underline;
}



footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    bottom: 0;
    left: 0;
    margin-top: auto;
    background-color: transparent;
    color: #333;
    font-size: 14px;
    position: relative;
}

footer p {
    margin: 0;
    opacity: 0.7; 
}

footer .logomzk {
    width: 200px; 
    height: auto; 
    margin-right: 10px; 
    margin-left: 20px;
}

.container {
  
    display: flex;
 
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  

}

.settings, .qr-result {
    width: 100%;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    color: #ffffffec;
    text-align: center;
}

label {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
}

input[type="text"], input[type="color"], select, input[type="file"], input[type="range"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#read.active input[type="file"] {
    width: 80%;
    padding: 6px;
    border: 1px solid #dddddd;
    font-size: 14px; 
}

button {
    background-color: rgb(80, 75, 85);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #000000;
}

.qr-decoded-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1200px;
}

#decoded-text {
    font-size: 16px;
    text-align: center;
    margin: 0;
}


.qr-result {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-result img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}


.dummy-container {
    display: flex;
    align-items: center;
}

button:disabled {
    background-color: #cccccc; 
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.info-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    margin-left: 7px;
    margin-bottom: 9px;
    line-height: 20px;
}

.info-box {
    display: none; 
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px; 
    border-radius: 5px;
    width: 100%; 
    max-height: calc(100vh - 200px);
    overflow-y: auto; 
}

.info-box p {
    margin: 0;
    font-size: 14px;
    color: #333;
}




