body {
    margin: 0;
    padding: 0;
    background-color: rgb(27, 27, 27);
    font-family: "Cascadia Code", sans-serif;
    color: #fff;
}

.loader-wrapper {
  text-align: center;
  padding: 40px 0;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid transparent;
  border-top: 6px solid #00c853;       
  border-right: 6px solid #00e676;     
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}



@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.message {
  margin-top: 20px;
  font-size: 20px;
  color: #333;
  display: none;
}

.pMain {
    text-align: center;
}

.labalPass {
    color: #cecece;
    text-align: start;
    margin: 0px;
}

.lineBlok {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.lineBlok:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.buttonBack:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
}

.buttonBack {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
    color: hsl(143.89999999999998 100% 64.1% / 1);
}

.headerMain {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.twimg {
    width: 350px;
    max-width: 100%;
    height: 150px;
    text-align: center;
    margin-bottom: 44px;
}

.twimg img {
    max-width: 100%;
    height: auto;
}

.blokA h1 {
    text-align: center;
}

.blokA {
    color:rgb(168, 168, 168);
    border: 1px solid rgb(110, 110, 110);
    border-radius: 5px;
    padding: 28px;
    max-width: 380px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.blokB {
    cursor: pointer;

}

.line-content {
    flex: 1;
    text-align: left;
}

.line-content p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #aaa;
}

.line-content h3 {
    margin: 0;
    font-size: 16px;
}

.line-icon-left, .line-icon-right {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blokA p {
    color: rgb(160, 160, 160);
    margin-top: 16px;
}

.password-container h2 {
    text-align: center;
}

.password-container {
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

.baseline {
    width: 100%;
    height: 2px;
    background-color: rgb(110, 110, 110);
    margin: 10px 0;
}

.password-container h2 {
    margin-bottom: 16px;
}

.password-container input[type="password"],
.password-container input[type="text"] {
    width: 100%;
    height: 42px;
    font-size: 14px;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #202020;
    color: white;
    box-sizing: border-box;
    margin-top: 10px;
}


.password-field {
    position: relative;
    margin-bottom: 15px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    font-size: 18px;
    color: #ccc;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password svg {
    display: block;
    width: 20px;
    height: 20px;
    color: #ccc;
    margin-top: 10px;
}

.rules label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
  cursor: default;
}


.rules input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid hsl(143.89999999999998 100% 64.1% / 1);
  border-radius: 50%;
  background-color: transparent;
  position: relative;
  cursor: default;
  transition: all 0.2s ease;
}


.rules input[type="checkbox"]:checked {
  background-color: hsl(143.89999999999998 100% 64.1% / 1);
}


.rules input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid rgb(66, 66, 66);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.SecretPhrase {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 450;
    font-style: normal;
    text-align: center;
    user-select: text;
    pointer-events: none;
    width: 100%;
    height: 120px;
    resize: none;
    overflow: hidden; 
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;        
    border: 1px solid #555;   
    border-radius: 6px;      
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;

    filter: blur(3px);
    transition: filter 0.3s ease;
}

.EnterSphArea {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 450;
    font-style: normal;
    text-align: center;
    width: 100%;
    height: 120px;
    resize: none;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.checkbox-container a {
    text-decoration: none;
    color: hsl(143.89999999999998 100% 64.1% / 1);
}

.checkbox-container {
    margin-bottom: 20px;
    text-align: center;
}

.SecretPhrase.visible {
    filter: none;
}

.showButton button {
    width: 50%;
    height: 42px;
    font-size: 15px;
    background-color: hsl(143.89999999999998 100% 64.1% / 1);
    color: #2d2d2d;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 10px;
}

.showButton button:hover {
    background-color: hsl(143.89999999999998 100% 64.1% / 1)b3;
}

.message {
    font-size: 14px;
    margin-top: 8px;
    margin: 20px;
    color: #8a8a8a;
}

.message.success {
    color: green;

}

.message.error {
    color: #ff6161;

}


.password-container button {
    width: 50%;
    height: 42px;
    font-size: 15px;
    background-color: hsl(143.89999999999998 100% 64.1% / 1);
    color: rgb(53, 53, 53);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: block;
    margin: 6px auto;
}

.password-container button:hover {
    background-color: hsl(160, 91%, 78%);
    transition: background 0.2s ease;
}

.password-container button:disabled {
    background-color: #555555;
    cursor: not-allowed;
}