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

body {
    font-family: var(--font-family-base);
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signin-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.signin-header {
    padding: 40px 30px 30px;
    text-align: center;
    background: var(--primary-color);
    color: white;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 20px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

.logo-placeholder {
    width: 80%;
    height: 80%;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    border-radius: 6px;
}

.signin-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.signin-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.signin-version {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 8px;
}

.signin-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label svg {
    color: #6c757d;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
}

.password-requirements {
    margin-top: 4px;
}

.text-muted {
    color: #6c757d;
    font-size: 12px;
}

.text-danger {
    color: #dc3545;
    font-size: 12px;
}

.btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert svg {
    flex-shrink: 0;
    vertical-align: middle;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .signin-container {
        width: 95%;
    }

    .signin-header {
        padding: 30px 20px 20px;
    }

    .signin-title {
        font-size: 24px;
    }

    .signin-form {
        padding: 20px;
    }

    .support-info {
        padding: 15px 20px;
    }
}

.support-info {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-25);
}

.support-info p {
    margin: 0;
    font-size: 13px;
    color: var(--gray-600);
}

.support-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.support-info a:hover {
    text-decoration: underline;
}