body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
}

.logo {
    height: 50px;
}

.container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

h3 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    background-color: rgba(76, 175, 80, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}


input[type="password"] {
    width: 100%;
    padding: 10px 10px 10px 10px; /* Uniform padding inside the input */
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
    padding-right: 35px; /* Enough space for the icon */
}

input[type="text"] {
    width: 100%;
    padding: 10px 10px 10px 10px; /* Uniform padding inside the input */
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
    padding-right: 35px; /* Enough space for the icon */
}


/* Password container to hold the input field and toggle button */
.password-container {
    position: relative;
}

/* Styling the password visibility toggle button */
.toggle-password {
    position: absolute;
    right: 10px; /* Align the button to the right */
    top: 50%;
    transform: translateY(-50%); /* Vertically center the button */
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    outline: none;
    color: #555;
    transition: transform 0.2s ease, color 0.2s ease;
}


.toggle-password:active {
    color: #ff8c00; /* Orange color on click */
}

/* Submit button styling */
button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #ff8c00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #e67600;
}

.message {
    text-align: center;
    color: red;
}


.InvalidLinkContainter {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.InvalidLinkContainter h2 {
    color: #ff0000;
    margin-bottom: 20px;
}
.InvalidLinkContainter p {
    margin-bottom: 15px;
    color: #333;
}

.linkHeader {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
}

.linkHeader {
    margin-bottom: 20px; /* Space between logo and message */
}

.InvalidLinkContainter {
    text-align: center; /* Center text inside the container */
}

.RedirectMessage {
    font-size: 0.8em;
    padding: 30px 30px;
}

.alert {
    color: red;
    margin-top: 3px;
    font-size: 12px;
    display: none; /* Initially hidden */
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #4CAF50;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

/* Tick icon line styles */
.tick {
    width: 50px;
    height: 25px;
    border: solid white;
    border-width: 0 5px 5px 0;
    transform: rotate(-45deg) scaleX(-1);
    animation: tick-animation 0.9s ease forwards;
     
    opacity: 0;
}

/* Animation for tick mark */
@keyframes tick-animation {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% {
        width: 50px;
        height: 25px;
        opacity: 1;
    }
    100% {
        width: 50px;
        height: 25px;
        opacity: 1;
    }
}

/* Success message styling */
.message {
    margin-top: 15px;
    font-size: 1.5em;
    color: #333;
}



/* Circle container */
.circleCross {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #FF4C4C;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    animation: scaleUp 0.5s ease-out forwards;
}

/* Centering the cross inside the circle */
.cross {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cross mark lines with animation */
.cross::before,
.cross::after {
    content: "";
    position: absolute;
    width: 0; /* Start with zero width */
    height: 5px;
    background-color: white;
    border-radius: 5px;
    opacity: 0; /* Start invisible */
    animation: drawCross 0.5s ease forwards 0.5s;
}

/* First line - diagonal from top-left to bottom-right */
.cross::before {
    transform: rotate(45deg);
}

/* Second line - diagonal from bottom-left to top-right */
.cross::after {
    transform: rotate(-45deg);
}

/* Circle scale-up animation */
@keyframes scaleUp {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Cross draw animation */
@keyframes drawCross {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 60px;
        opacity: 1;
    }
}
