/* Algemene Stijling */
body {
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    height: 100vh;    
    overflow: hidden;
    user-select: none;
}

h1 {
    font-size: 3em;
    color: #fff;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
    align-self: center;
}

.btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: #854fa5;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn i {
    margin-right: 8px;
}

.btn:hover {
    background-color: #45a049;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.decorative-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 15px;
    animation: floatIcons 6s infinite ease-in-out;
}

.decorative-icons i {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.decorative-icons i:hover {
    color: #ffd700;
    transform: scale(1.2);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcons {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

form {
    display: flex;
    flex-direction: column;
    width: 300px;
    border: none;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
    align-self: center;
}

form:hover {
    transform: scale(1.05);
}

.container {
    width: 400px;
    margin: 20px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

input[type="password"] {
    border-radius: 4px 4px 0 0 !important;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    margin-top: 8px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border-color: #5dade2;
    box-shadow: 0 0 5px rgba(93, 173, 226, 0.5);
}

input[type="password"] {
    margin: 8px 0 0 0 !important;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover:not(.toggle-password) {
    background-color: #45a049;
    transform: translateY(-2px);
}

a {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #000;
}

.verifyLink {
    margin-top: 0px !important;
    margin-left: 4px !important;
}

/* Nieuwe Stijlen voor Wachtwoord Toggle */
.password-container {
    position: relative;
    display: flex;
    align-items: center;    
}

.password-container input {
    width: 100%;
    padding-right: 40px; /* Ruimte voor het toggle-icoon */
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    color: #555;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #000;    
}

/* Stijlen voor Meldingen */
.message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    display: flex;
    align-items: center;
    max-width: 500px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Stijlen voor Password Strength Progress Bar */
.progressbar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 0 2px 2px 0;
    overflow: hidden;
    height: 4px;    
}

.progressbar .bar {
    height: 100%;
    width: 0%;
    background-color: #ccc;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Toegevoegde Stijlen voor Wachtwoordsterkte Tekst */
#passwordStrengthText {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-weight: bold;
    color: #555;
    font-size: 14px;
}