/* Colorlib Login Form v12 inspired styles for GScan */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.login-v12-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f2f2f2;
}

.limiter {
    width: 100%;
    margin: 0 auto;
}

.container-login100 {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.container-login100::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.88), rgba(66, 114, 215, 0.82));
    z-index: -1;
}

.wrap-login100 {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    padding: 55px 40px 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.login100-form {
    width: 100%;
}

.login100-form-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 5px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login100-form-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login100-form-avatar .avatar-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #4272d7;
    letter-spacing: 1px;
}

.login100-form-title {
    display: block;
    font-size: 28px;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    font-weight: 600;
    padding-top: 20px;
}

.login100-form-subtitle {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-top: 8px;
    margin-bottom: 28px;
}

.wrap-input100 {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.input100 {
    display: block;
    width: 100%;
    height: 50px;
    background: transparent;
    font-size: 15px;
    color: #555;
    line-height: 1.2;
    padding: 0 55px 0 22px;
    border: none;
    outline: none;
}

.input100::placeholder {
    color: #999;
}

.focus-input100 {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4272d7;
    transition: width 0.4s ease;
}

.wrap-input100:focus-within .focus-input100 {
    width: 100%;
}

.symbol-input100 {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: #adadad;
    font-size: 15px;
}

.login100-form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 18px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
}

.login100-form-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #4272d7;
}

.container-login100-form-btn {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.login100-form-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #4272d7, #5b8def);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 8px 20px rgba(66, 114, 215, 0.35);
}

.login100-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(66, 114, 215, 0.45);
    background: linear-gradient(135deg, #355eb8, #4272d7);
}

.login100-form-btn:active {
    transform: translateY(0);
}

.login100-links {
    text-align: center;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.txt1 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.2s ease;
}

.txt1:hover {
    color: #fff;
    text-decoration: underline;
}

.txt2 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.txt2:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
}

.login-alert {
    background: rgba(255, 255, 255, 0.95);
    color: #c0392b;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: 14px;
}

.login-alert-success {
    color: #1e7e34;
}

.login-field-error {
    color: #ffe0e0;
    font-size: 12px;
    margin: -10px 0 12px 18px;
}

@media (max-width: 576px) {
    .wrap-login100,
    .wrap-register100 {
        padding: 45px 24px 35px;
    }

    .login100-form-title {
        font-size: 24px;
    }

    .register-grid {
        grid-template-columns: 1fr;
    }
}

/* Customer register — wider card, two-column fields */
.wrap-register100 {
    width: 100%;
    max-width: 760px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    padding: 45px 40px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.container-login100.register-page {
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.register-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.register-actions .login100-form-btn {
    flex: 1 1 200px;
}

.register-actions .txt2 {
    flex: 1 1 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login100-form-subtitle.register-subtitle {
    margin-bottom: 22px;
}

