@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
    background: #0e101c;
    display: flex;
    justify-content: center;
    align-items: center;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(28, 31, 42, 0.95);
    padding: 30px 25px;
    border-radius: 15px;
    width: 360px;
    max-width: 90%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

#datetime {
    font-size: 14px;
    color: #ccc;
}

h2 {
    margin-bottom: 20px;
    font-weight: 700;
    color: #f0f0f0;
}

input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
    background: #2a2d3e;
    color: #fff;
    box-sizing: border-box;
    margin-bottom: 10px;
}

input::placeholder {
    color: #888;
}

.progress {
    width: 100%;
    height: 10px;
    background: #343a50;
    border-radius: 8px;
    margin-top: 10px;
}

#progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 8px;
    transition: width 0.3s;
    background: linear-gradient(90deg, #ef4444, #f97316, #eab308, #22c55e, #16a34a);
    background-size: 500% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 0%; }
}

#strength-text {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}
