.authenticationView {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  padding: var(--space-lg);
}

#logoImage {
  width: 12em;
  height: 12em;
  /* border: 1px solid var(--color-gray-cyan); */
  border-radius: 50%;
  margin: 0.4em auto;
  display: flex;
}

#logoImage img {
  width: 25em;
  height: 25em;
  object-fit: cover;
  margin-left: -6.5em;
  margin-top: -5.9em;
}

#auth_lock_icon {
  display: flex;
  justify-content: center;
}

#auth_lock_icon svg {
  height: 2em;
  width: auto;
}

#secureGuaranteeContainer h3 {
  text-align: center;
}

#secureGuaranteeContainer p {
  text-align: center;
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
}

#secureGuaranteeContainer {
  margin: 1em auto;
}

.rightArrowIcon svg {
  height: 1.2em;
  width: 1.2em;
  margin-left: 0.5em;
  margin-top: 0.4em;
}

#loginBtn,
#requestPINBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-teal-dark);
  color: var(--color-white);
  padding: 0.4em;
  width: 80%;
  margin: 1em auto;
  border-radius: 0.3em;
  cursor: pointer;
}

.terms {
  text-align: center;
  margin-top: auto;
  /* padding-top: var(--space-xl); */
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.terms a {
  color: var(--color-accent);
  text-decoration: none;
}

.notification.error {
  background-color: rgba(244, 67, 54, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(244, 67, 54, 0.2);
  display: flex;
  align-items: center;
  display: none;
}

.notification.success {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(76, 175, 80, 0.2);
  display: flex;
  display: none;
}

/* PIN-REQUEST UI CSS */
.pin-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.pin-background.active {
    opacity: 1;
    pointer-events: all;
}

.pin-background .pin-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    width: 95%;
    max-width: 360px;
    padding: 25px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.pin-background.active .pin-modal {
    transform: translateY(0);
}

.pin-background .pin-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.pin-background .pin-instruction {
    color: #0e5c1b;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.pin-background .pin-display {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 16px;
}

.pin-background .pin-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #bdc3c7;
    transition: all 0.2s ease;
    opacity: 0;
}

.pin-background .pin-dot.visible {
    opacity: 1;
}

.pin-background .pin-dot.filled {
    background-color: #053a1f;
    border-color: #36222c;
    transform: scale(1.1);
}

.pin-background .pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 10px;
}

.pin-background .pin-key {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 12px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    color: #2c3e50;
}

.pin-background .pin-key:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.pin-background .pin-key:active {
    background-color: #dee2e6;
    transform: translateY(1px);
}

.pin-background .pin-confirm {
    grid-column: 3;
    background-color: #2ecc71;
    color: white;
}

.pin-background .pin-confirm:hover {
    background-color: #27ae60;
}

.pin-background .pin-clear {
    grid-column: 1;
    color: #e74c3c;
    font-size: 22px;
}

.pin-background .pin-clear:hover {
    background-color: #ffeaea;
}

.pin-background button {
    padding: 14px 28px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pin-background button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.pin-background .pin-feedback {
    height: 22px;
    margin-top: 15px;
    font-size: 14px;
    color: #e74c3c;
    font-weight: 500;
}

.withdrawButton{
  padding:0.4em; padding-right: 0px;
  color: rgba(15, 21, 104, 0.9);
  font-weight: bold;
}
.withdrawButton:hover{
  cursor: pointer;
}


@media (max-width: 480px) {
    .pin-background .pin-modal {
        max-width: 320px;
        padding: 20px;
    }
    
    .pin-background .pin-key {
        height: 60px;
        font-size: 22px;
    }
                
    .pin-background button {
        width: 100%;
        max-width: 280px;
    }   
}
