* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.form-section {
    padding: 48px 40px;
}

.logo {
    text-align: center;
    margin-bottom: 8px;
}

.logo img {
    height: 48px;
    width: auto;
}

.subtitle {
    color: #64748b;
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.phone-input {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #475569;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 30px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    accent-color: #3b82f6;
}

.checkbox-group label {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
}

.checkbox-group a {
    color: #3b82f6;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.submit-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.login-link {
    text-align: center;
    color: #718096;
    font-size: 14px;
}

.login-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}



/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 12px;
    }

    .form-section {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo img {
        height: 35px;
        width: auto;
    }

    .subtitle {
        color: #64748b;
        margin-bottom: 32px;
        font-size: 0.8rem;
        line-height: 1.6;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .form-section {
        padding: 24px 20px;
    }

    .phone-input {
        flex-direction: column;
    }

    .country-code {
        width: 100%;
    }

    .logo img {
        height: 35px;
        width: auto;
    }

    .subtitle {
        color: #64748b;
        margin-bottom: 32px;
        font-size: 0.8rem;
        line-height: 1.6;
        text-align: center;
    }
}

/* Animation */
.container {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Added styles for company name input with fixed suffix */
.company-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.company-input-wrapper:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.company-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
}

.company-suffix {
    padding: 14px 16px 14px 0;
    color: #64748b;
    font-size: 15px;
    user-select: none;
    pointer-events: none;
}