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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon img {
    width: 48px;
    height: 48px;
}

.header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.subtitle {
    color: #6b7280;
    font-size: 0.875rem;
}

.subtitle a {
    color: #3b82f6;
    text-decoration: none;
}

.subtitle a:hover {
    text-decoration: underline;
}

.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e4e4e7;
    padding: 2.5rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.input-wrapper {
    position: relative;
}

.input {
    width: 100%;
    padding: 0 12px;
    height: 36px;
    border: 1.5px solid #cbcbcb;
    border-radius: 10px;
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-with-prefix {
    padding-left: 36px;
}

.input-with-suffix {
    padding-right: 36px;
}

.input-prefix {
    display: flex;
    align-items: center;
    justify-items: center;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
    pointer-events: none;
}

.input-prefix svg {
    color: black;
    opacity: 0.9;
    width: 16px;
    height: 16px;
}

.input-suffix {
    position: absolute;
    display: flex;
    align-items: center;
    justify-items: center;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
    user-select: none;
}

.input-suffix svg {
    color: black;
    opacity: 0.9;
    width: 16px;
    height: 16px;
}

.input-suffix .eye-closed {
    display: none;
}

.input-suffix.open .eye-closed {
    display: block;
}

.input-suffix .eye-open {
    display: block;
}

.input-suffix.open .eye-open {
    display: none;
}

.forgot-password {
    text-align: right;
    margin-bottom: 1rem;
}

.forgot-password a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0 1rem;
    height: 32px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.075s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background-color: #2563eb;
}

.submit-btn:active {
    transform: scale(0.97);
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

.footer-text {
    font-size: 0.75rem;
    color: #151414b3;
    text-align: center;
    line-height: 1.5;
}

.footer-text a {
    color: #3b82f6;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }

    .form-card {
        padding: 1.25rem;
    }
}